{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-24963","published":"2025-02-04T20:15:50.330000Z","last_modified":"2026-06-17T08:59:53.440000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vitest.dev","product":"vitest","version_end_excluding":"2.1.9"},{"criteria":"cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vitest.dev","product":"vitest","version_start_including":"3.0.0","version_end_excluding":"3.0.4"}],"cpes_truncated":false,"vendors":["vitest.dev"],"products":["vitest.dev/vitest"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8gvc-j273-4wm5","ecosystem":"npm","name":"@vitest/browser","purl":"pkg:npm/%40vitest/browser","ranges":[{"introduced":"2.0.4","fixed":"2.1.9"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-8gvc-j273-4wm5","ecosystem":"npm","name":"@vitest/browser","purl":"pkg:npm/%40vitest/browser","ranges":[{"introduced":"3.0.0","fixed":"3.0.4"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2025-24963/","html_en":"/en/cve/CVE-2025-24963/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-24963","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-24963"},"untrusted":{"vendor_name":"Vitest.dev","product_name":"Vitest","desc_en":"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.","affected":[{"untrusted_vendor":"vitest-dev","untrusted_product":"vitest","versions":[]}],"references":[{"url":"https://github.com/vitest-dev/vitest/blob/f17918a79969d27a415f70431e08a9445b051e45/packages/browser/src/node/plugin.ts#L88-L130","tags":["Product"]},{"url":"https://github.com/vitest-dev/vitest/commit/2d62051f13b4b0939b2f7e94e88006d830dc4d1f","tags":["Patch"]},{"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-8gvc-j273-4wm5","tags":["Vendor Advisory"]},{"url":"https://vitest.dev/guide/browser/config.html#browser-api","tags":["Product"]}]}}