Vulnerability
CVE-2025-30208
Vite bypasses server.fs.deny when using `?raw??`
Vulnerability details
- Score
- 5.3
- Severity
- medium
CVSS 3.1 · GitHub_M
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NDescription
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 ProgramExploit source choices
23 sourcesCVE-2025-30208-EXP
全网首发 CVE-2025-31125 CVE-2025-30208 CVE-2025-32395 Vite Scanner
A PoC of the exploit script for the Arbitrary File Read vulnerability of Vite /@fs/ Path Traversal in the transformMiddleware (CVE-2025-30208).
CVE-2025-30208-EXP 任意文件读取
CVE‑2025‑30208 is a medium-severity arbitrary file read vulnerability in the Vite development server (a popular frontend build tool)
CVE-2025-30208 - Vite Arbitrary File Read PoC
针对CVE-2025-30208和CVE-2025-31125的漏洞利用
nkuty/cve-2025-30208-31125-31486-32395 source repository
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.
Analysis of the Reproduction of CVE-2025-30208 Series Vulnerabilities
Python-based security assessment tool for detecting exposed Vite development servers, identifying sensitive file exposure, and validating filesystem access control weaknesses in authorized environments.
cocobeansoup/future_forge- source repository
CVE-2025-30208 ViteVulnScanner
Vite-CVE-2025-30208-EXP单目标检测,支持自定义读取路径,深度检索
mass scan for CVE-2025-30208
CVE‑2025‑30208 is a medium-severity arbitrary file read vulnerability in the Vite development server (a popular frontend build tool)
0xshaheen/cve-2025-30208 source repository
abdo123465/tafannin source repository
abdo123465/tfanine2 source repository
abdulla6883/geer-internship-assignment source repository
bdwk9553-afk/tafanin source repository
CVE-2025-30208 exploit script