CVE-2026-53633
Description
Vitest is a testing framework powered by Vite. From 3.0.0 until 3.2.5, 4.1.8, and 5.0.0-beta.4, Vitest Browser Mode exposed a cdp() API that forwarded raw Chrome DevTools Protocol methods without being gated by allowWrite or allowExec, allowing a remote client with exposed browser API metadata to use CDP Page.setDownloadBehavior and Runtime.evaluate to overwrite vite.config.ts and execute attacker-controlled Node.js code. This issue is fixed in versions 3.2.5, 4.1.8, and 5.0.0-beta.
How to fix
- @vitest/browser5.0.0-beta.4, 4.1.8, 3.2.5 or later
- vite-plus0.1.24 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @vitest/browsernpm | 5.0.0-beta.0 ≤ v < 5.0.0-beta.4, 4.0.0 ≤ v < 4.1.8, 3.0.0 ≤ v < 3.2.5 | 5.0.0-beta.4, 4.1.8, 3.2.5 |
| vite-plusnpm | v < 0.1.24 | 0.1.24 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.