Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/vitest@2.0.5
purl pkg:npm/vitest@2.0.5
Next non-vulnerable version 2.1.9
Latest non-vulnerable version 4.1.0
Risk 4.5
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-9jvc-hskm-m3hb
Aliases:
CVE-2025-24964
GHSA-9crc-q9x8-hgqq
Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listening Arbitrary remote Code Execution when accessing a malicious website while Vitest API server is listening by Cross-site WebSocket hijacking (CSWSH) attacks.
2.1.9
Affected by 0 other vulnerabilities.
3.0.5
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T05:38:03.109437+00:00 GitLab Importer Affected by VCID-9jvc-hskm-m3hb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/vitest/CVE-2025-24964.yml 38.6.0