Exposed Dangerous Method or Function
CVE-2026-53633
Summary
Vitest Browser Mode exposes a `cdp()` API that forwards raw Chrome DevTools Protocol (CDP) methods over the Vitest browser WebSocket RPC. CDP is not gated by `browser.api.allowWrite`, `browser.api.allowExec`, `api.allowWrite`, or `api.allowExec`. The package "@vitest/browser" is affected from 3.0.0 prior to 3.2.5, 4.0.0 prior to 4.1.8 and 5.0.0-beta.0 prior to 5.0.0-beta.4. The package "vite-plus" is also affected prior to prior to 0.1.24.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-749 - Exposed Dangerous Method or Function
The software provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.
References
Advisory Timeline
- Published