vitest

Next generation testing framework powered by Vite

5.1.2Latest, 25 Nov 2026
809MDownloads, last month
0Advisories on the latest
3Advisories, all versions
MITLicence
17KStars

Known advisories

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

In the news

On Hacker News

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