CISA list

● npm package

@vitest/browser

@vitest/browser has five security advisories. The newest release any of them names as the fix is 5.0.5.

As of , @vitest/browser has five security advisories. The newest release any of them names as the fix is 5.0.5.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 5.0.0-beta.0 before 5.0.55.0.54 advisories
From 4.0.0 before 4.1.104.1.103 advisories
Before 3.2.73.2.73 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-112948GHSA-p458-7748-mcp3Vitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token fileModerate severityFrom 5.0.0-beta.6 before 5.0.55.0.5
CVE-2026-73653GHSA-p63j-vcc4-9vmv@vitest/browser: Browser Mode provider commands bypass the file-access permission gateCritical severityFrom 5.0.0-beta.1 before 5.0.0-beta.6; From 4.0.0 before 4.1.10; Before 3.2.73.2.7, 4.1.10, 5.0.0-beta.6
CVE-2026-53633GHSA-g8mr-85jm-7xhmVitest Browser: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCECritical severityFrom 5.0.0-beta.0 before 5.0.0-beta.4; From 4.0.0 before 4.1.8; From 3.0.0 before 3.2.53.2.5, 4.1.8, 5.0.0-beta.4
CVE-2026-47428GHSA-2h32-95rg-cpppVitest browser mode serves unsanitized otelCarrier query parameter as inline scriptCritical severityFrom 5.0.0-beta.0 before 5.0.0-beta.3; From 4.0.17 before 4.1.64.1.6, 5.0.0-beta.3
CVE-2025-24963GHSA-8gvc-j273-4wm5Vitest browser mode serves arbitrary filesModerate severityFrom 3.0.0 before 3.0.4; From 2.0.4 before 2.1.92.1.9, 3.0.4

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0