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.
Severity
CVSS 3.1
7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
75%(unchanged from 75% a week ago; 75% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-03-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-200Exposure of Sensitive Information to an Unauthorized Actor CWE-284Improper Access Control
Show the promptExplain CVE-2025-30208 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-30208?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-30208?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-30208 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.
Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
xuemian168/CVE-2025-30208Harbor Check: matches CVE50 stars, created 全网首发 CVE-2025-31125 CVE-2025-30208 CVE-2025-32395 Vite Scanner
4xura/CVE-2025-30208Harbor Check: matches CVE13 stars, created A PoC of the exploit script for the Arbitrary File Read vulnerability of Vite /@fs/ Path Traversal in the transformMiddleware (CVE-2025-302…
ThemeHackers/CVE-2025-30208Harbor Check: matches CVE10 stars, created CVE‑2025‑30208 is a medium-severity arbitrary file read vulnerability in the Vite development server (a popular frontend build tool)
On1onss/CVE-2025-30208Harbor Check: matches CVE4 stars, created This exploit is for educational and ethical security testing purposes only. The use of this exploit against targets without prior mutual co…
r0ngy40/CVE-2025-30208-SeriesHarbor Check: matches CVE3 stars, created Analysis of the Reproduction of CVE-2025-30208 Series Vulnerabilities
L15B04/Exploit-VITE-CVE-2025-30208-CVE-2025-31125Harbor Check: matches CVE2 stars, Python, created Python-based security assessment tool for detecting exposed Vite development servers, identifying sensitive file exposure, and validating f…
TH-SecForge/CVE-2025-30208Harbor Check: matches CVE1 star, created CVE‑2025‑30208 is a medium-severity arbitrary file read vulnerability in the Vite development server (a popular frontend build tool)
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.