Vulnerability in Vitest-dev Vitest

CVE-2025-24964

Vitest is a testing framework powered by Vite. Affected versions are subject to arbitrary remote Code Execution when accessing a malicious website while Vitest API server is listening by Cross-site WebSocket hijacking (CSWSH) attacks. When…

EPSS: 0.019 (83.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.7 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-24964?
CVE-2025-24964 is a critical-severity vulnerability in Vitest-dev Vitest, classified under CWE-1385. CVSS score: 9.7/10. Published 2025-02-04.
How severe is CVE-2025-24964?
Critical severity. CVSS v3 base score is 9.7 out of 10.