CVE-2026-53633
Published:July 14, 2026
Updated:July 21, 2026
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.
Affected Packages
https://github.com/vitest-dev/vitest.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.1.8Fix Suggestion:
Update to version v4.1.8https://github.com/vitest-dev/vitest.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.2.5Fix Suggestion:
Update to version v3.2.5https://github.com/vitest-dev/vitest.git (GITHUB):
Affected version(s) >=v5.0.0-beta.1 <v5.0.0-beta.4Fix Suggestion:
Update to version v5.0.0-beta.4@vitest/browser (NPM):
Affected version(s) >=5.0.0-beta.1 <5.0.0-beta.4Fix Suggestion:
Update to version 5.0.0-beta.4@vitest/browser (NPM):
Affected version(s) >=3.0.0 <3.2.5Fix Suggestion:
Update to version 3.2.5@vitest/browser (NPM):
Affected version(s) >=4.0.0 <4.1.8Fix Suggestion:
Update to version 4.1.8vite-plus (NPM):
Affected version(s) >=0.0.0-a9c652c5753d93f1945ac33b16422f345b518ae9 <0.1.24Fix Suggestion:
Update to version 0.1.24Related Resources (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
EPSS
Base Score:
0.58