npmWorst: Critical5 advisories
@vitest/browser: known vulnerabilities
@vitest/browser has 5 reviewed security advisories in the GitHub Advisory Database — 3 critical, 2 moderate. The most recent was published 2026-10-20. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the @vitest/browser versions running across your servers, containers and images, and ranks what to patch first.
How to fix @vitest/browser
Upgrade @vitest/browser to a release at or above the fixed version shown for each advisory below. For npm:
npm install @vitest/browser@5.0.5 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (5)
Vitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token file
Moderate 6.5 CWE-200 CWE-552
— Affected: from 5.0.0-beta.6 up to 5.0.5. Fixed in 5.0.5. Published 2026-10-20. GHSA-p458-7748-mcp3 · CVE-2026-112948
@vitest/browser: Browser Mode provider commands bypass the file-access permission gate
Critical 9.4 CWE-22 CWE-552 CWE-862
— Affected: from 5.0.0-beta.1 up to 5.0.0-beta.6. Fixed in 5.0.0-beta.6. Published 2026-07-21. GHSA-p63j-vcc4-9vmv · CVE-2026-73653
Vitest Browser: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE
Critical 9.8 CWE-749 CWE-862
— Affected: from 3.0.0 up to 3.2.5. Fixed in 3.2.5. Published 2026-07-14. GHSA-g8mr-85jm-7xhm · CVE-2026-53633
Vitest browser mode serves unsanitized otelCarrier query parameter as inline script
Critical 9.6 CWE-79
— Affected: from 5.0.0-beta.0 up to 5.0.0-beta.3. Fixed in 5.0.0-beta.3. Published 2026-06-01. GHSA-2h32-95rg-cppp · CVE-2026-47428
Vitest browser mode serves arbitrary files
Moderate 5.9 CWE-22
— Affected: from 3.0.0 up to 3.0.4. Fixed in 3.0.4. Published 2025-02-04. GHSA-8gvc-j273-4wm5 · CVE-2025-24963
Find @vitest/browser across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.