CVE-2026-53633: Vulnerability in @vitest/browser
Critical. 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...
npm, CWE-749, CWE-862
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-g8mr-85jm-7xhm
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-749, CWE-862
- Published
- 15 Jun 2026
- Last change
- 24 Oct 2026
- Ecosystem
- npm
Affected packages
Vulnerable version ranges and fixed releases
- @vitest/browser npm, Affected from 5.0.0-beta.0 through 5.0.0-beta.3. Fixed in 5.0.0-beta.4
- vite-plus npm, Affected through 0.1.23. Fixed in 0.1.24
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes