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.
CVE-2025-30208
Score elevated to 9.0 because EPSS predicts 90% probability of exploitation within the next 30 days (top 0.4% of all CVEs). NVD baseline CVSS 5.3 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 75%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.3
- EG Score
- 9.0(high)
- EG Risk
- —
- EPSS
- 99.5%
- KEV
- Not listed
Published
March 24, 2025
Last Modified
September 23, 2025
References (6)
- security-advisories@githubhttps://github.com/vitejs/vite/commit/315695e9d97cc6cfa7e6d9e0229fb50cdae3d9f4
- security-advisories@githubhttps://github.com/vitejs/vite/commit/80381c38d6f068b12e6e928cd3c616bd1d64803c
- security-advisories@githubhttps://github.com/vitejs/vite/commit/807d7f06d33ab49c48a2a3501da3eea1906c0d41
- security-advisories@githubhttps://github.com/vitejs/vite/commit/92ca12dc79118bf66f2b32ff81ed09e0d0bd07ca
- security-advisories@githubhttps://github.com/vitejs/vite/commit/f234b5744d8b74c95535a7b82cc88ed2144263c1
- security-advisories@githubhttps://github.com/vitejs/vite/security/advisories/GHSA-x574-m823-4x7w
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| vite | — | 4.5.10 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 4× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-20 17:07 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-07 06:51 UTCOSV refresh
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
Show 23 moreShow fewer
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-18 17:43 UTCOSV refresh
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-05-30 08:58 UTCEG score recompute
- 2026-05-29 13:44 UTCEPSS rescore
Publicly available exploits
(10 references)Working exploit code is in the public domain (9 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCThemeHackers/CVE-2025-30208First seen Jun 27, 2025
CVE‑2025‑30208 is a medium-severity arbitrary file read vulnerability in the Vite development server (a popular frontend build tool)
Open source ↗ - Open source ↗GitHub PoCnkuty/CVE-2025-30208-31125-31486-32395First seen May 29, 2025
- GitHub PoCr0ngy40/CVE-2025-30208-SeriesFirst seen Apr 24, 2025
Analysis of the Reproduction of CVE-2025-30208 Series Vulnerabilities
Open source ↗ - Exploit-DBEDB-52111First seen Apr 3, 2025
Vite 6.2.2 - Arbitrary File Read
Open source ↗ - GitHub PoC4m3rr0r/CVE-2025-30208-PoCFirst seen Apr 3, 2025
CVE-2025-30208 - Vite Arbitrary File Read PoC
Open source ↗ - GitHub PoCjackieya/ViteVulScanFirst seen Mar 31, 2025
针对CVE-2025-30208和CVE-2025-31125的漏洞利用
Open source ↗ - GitHub PoC4xura/CVE-2025-30208First seen Mar 27, 2025
A PoC of the exploit script for the Arbitrary File Read vulnerability of Vite /@fs/ Path Traversal in the transformMiddleware (CVE-2025-30208).
Open source ↗ - GitHub PoCOn1onss/CVE-2025-30208First seen Mar 27, 2025
This exploit is for educational and ethical security testing purposes only. The use of this exploit against targets without prior mutual consent is illegal, and the developer disclaims any liability for misuse or damage caused by this exploit.
Open source ↗ - GitHub PoCAakiTT/CVE-2025-30208First seen Mar 26, 2025
CVE-2025-30208漏洞验证工具
Open source ↗ - GitHub PoCThumpBo/CVE-2025-30208-EXPFirst seen Mar 26, 2025
CVE-2025-30208-EXP
Open source ↗
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2025-30208?
When was CVE-2025-30208 disclosed?
Is CVE-2025-30208 actively exploited?
What is the CVSS score of CVE-2025-30208?
How do I remediate CVE-2025-30208?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-30208
Is Your Infrastructure Affected by CVE-2025-30208?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.