# vitest (npm)

Next generation testing framework powered by Vite

- Latest: 5.1.2 (2026-11-25)
- Licence: MIT
- Downloads: 808977292 last month
- Advisories on the latest version: 0

- CVE-2026-84373 MODERATE: Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock Fixed in 4.1.11, 5.0.0-rc.2.
- CVE-2026-47429 CRITICAL: When Vitest UI server is listening, arbitrary file can be read and executed Fixed in 4.1.0, 3.2.6.
- CVE-2025-24964 CRITICAL: Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listening Fixed in 1.6.1, 2.1.9, 3.0.5.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
