CVE-2025-30208: vitejs vite
Vulnerability summary
CVE-2025-30208 is a high (CVSS 7.5) vulnerability in vitejs vite. EPSS estimates a 74.77% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 5Timeline
- 24-03-2025PublishedVulnerability first disclosed.
- 24-03-2025Last modifiedVulnerability information updated.
Description
Vite, a provider of frontend development tooling, has a vulnerability in versions prior to 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10. `@fs` denies access to files outside of Vite serving allow list. Adding `?raw??` or `?import&raw??` to the URL bypasses this limitation and returns the file content if it exists. This bypass exists because trailing separators such as `?` are removed in several places, but are not accounted for in query string regexes. The contents of arbitrary files can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected. Versions 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10 fix the issue.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NDiffers
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
74.77%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
-0.20 pp
From 74.97% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundVite
Maturity: poc
Vite 6.2.2 - Arbitrary File Read
Maturity: poc
Weaknesses
CWE · root cause- CWE-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
- CWE-284Improper Access ControlThe product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
Affected systems
Chainguard2 products
- langfuse-2-worker< 2.95.12-r26
- langfuse-fips-2-worker< 2.95.12-r28
Npm1 product
- vite≥ 6.2.0, < 6.2.3 | ≥ 6.1.0, < 6.1.2 | ≥ 6.0.0, < 6.0.12 | ≥ 5.0.0, < 5.4.15 | < 4.5.10
Vitejs1 product
- vite< 4.5.10 | ≥ 5.0.0, < 5.4.15 | ≥ 6.0.0, < 6.0.12 | ≥ 6.1.0, < 6.1.2 | ≥ 6.2.0, < 6.2.3
3 vendors · 4 products
References
9 links- github.com/vitejs/vite/security/advisories/GHSA-x574-m823-4x7wX Refsource CONFIRMWEBAdvisoryExploitThird Party Advisory
- github.com/vitejs/vitePACKAGE