CVE-2025-30208
Vite bypasses server.fs.deny when using ?raw??
- Published
- Mar 24, 2025
- Updated
- Mar 24, 2025
- Assigning CNA
- GitHub_M
- Evidence observed
- Apr 3, 2025
Vite bypasses server.fs.deny when using ?raw??
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NHigh · next 30 days
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
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.
vite/CVE-2025-30208
Vite Development Server Arbitrary File Read Bypass (CVE-2025-30208)
http/cves/2025/CVE-2025-30208.yaml
Scanner for CVE-2025-30208 in Vite Dev Server, supporting single and mass URL scanning with multiple payloads, multi-threading, and vulnerable URL output.
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 exploit script
Exploit scanner for CVE-2025-30208 (Vite arbitrary file read) with multi-variant bypass detection, credential harvesting, SSH key extraction, and structured reporting for authorized penetration testing.
针对CVE-2025-30208和CVE-2025-31125的漏洞利用
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.
CVE-2025-30208 ViteVulnScanner
Python-based exploit for CVE-2025-30208 targeting Vite dev server arbitrary file read. Supports single-target detection, custom file paths, system probing, deep environment analysis, and HTTP/HTTPS proxy.
Exploitation guide and automated detection script for four Vite dev server arbitrary file read vulnerabilities (CVE-2025-30208/31125/31486/32395) with Linux and Windows examples.
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
CVE‑2025‑30208 is a medium-severity arbitrary file read vulnerability in the Vite development server (a popular frontend build tool)
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-EXP
POC
Nuclei template for CVE-2025-30208, exploiting a file read vulnerability in Vite. Includes search queries for Hunter, FOFA, and Shodan to identify vulnerable targets.
Multi-threaded Python scanner for CVE-2025-30208 Vite path traversal vulnerability with custom payload support, batch scanning, and proxy debugging.
CVE-2025-30208-EXP 任意文件读取
CVE-2025-30208 任意文件读取漏洞快速验证
CVE-2025-30208 | Vite脚本
mass scan for CVE-2025-30208
4m3rr0r · multiple · Apr 3, 2025