GHSA-8gvc-j273-4wm5 · Severity: medium · Ecosystem: npm — Vitest browser mode serves arbitrary files
Vitest is a testing framework powered by Vite. The `__screenshot-error` handler on the browser mode HTTP server that responds any file on the file system. Especially if the server is exposed on the network by `browser.api.host: true`, an attacker can send a request to that handler from remote to get the content of arbitrary files.This `__screenshot-error` handler on the browser mode HTTP server responds any file on the file system. This code was added by commit `2d62051`. Users explicitly exposing the browser mode server to the network by `browser.api.host: true` may get any files exposed. This issue has been addressed in versions 2.1.9 and 3.0.4. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Conclusion & alert: CVE-2025-24963 is rated Moderate Risk (46.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.29%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 23.64% | 2.29% | -21.35% |
| 2 | 2026-04-02 | 18.84% | 23.64% | +4.80% |
| 3 | 2026-03-15 | — | 18.84% | — |
Full EPSS history (33 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-8gvc-j273-4wm5 · Severity: medium · Ecosystem: npm — Vitest browser mode serves arbitrary files
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vitest.dev | vitest | < 2.1.9 | cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:* |
| vitest.dev | vitest | >= 3.0.0, < 3.0.4 | cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:* |