Skip to content
Connect AISign inSign up free
CVE-2025-249635.9MediumCWE-22

CVE-2025-24963: Browser mode serves arbitrary files in vitest

vitest-dev · vitest

Affected: vitest-dev · Exploitation: check available, not yet exploited

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

2.4%probability of exploitation in the next 30 days
83rd percentile
050100

Higher than 83% of scored CVEs

5.9MediumCVSS 3.1
LowMedium

DescriptionCVE.org

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 products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • vitest-dev · vitest>= 2.0.4, < 2.1.9; >= 3.0.0, < 3.0.4

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Check available, not yet exploited. A public nuclei template can confirm it on a system you are authorised to test.
CISA KEV
Not listed
Public check
Vitest Browser Mode - Local File Read · nuclei template in projectdiscovery/nuclei-templates
Published
February 2025

CoverageNo articles yet

No CyberSIXT article names CVE-2025-24963 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References