Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2025-30208 PoC — Vite bypasses server.fs.deny when using `?raw??`

Source
Associated Vulnerability
Title:Vite bypasses server.fs.deny when using `?raw??` (CVE-2025-30208)
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.
Readme
🔥 Vite Dev Server Vulnerability Scanner (CVE-2025-30208)






🚀 Overview

This tool scans for CVE-2025-30208, a vulnerability in the Vite Dev Server. It allows security researchers to quickly detect vulnerable instances using multiple payloads.

⚡ Features

✅ Single URL scanning (-u URL)
✅ Mass scanning from a file (-f file.txt)
✅ Multiple payloads for thorough testing
✅ Multi-threading for faster results
✅ Saves vulnerable URLs to vulnerable.txt

🛠 Installation

# Clone the repository
git clone https://github.com/0xshaheen/CVE-2025-30208.git
cd CVE-2025-30208

# Install dependencies
pip install -r requirements.txt

🚨 Usage

Scan a single URL:

python scanner.py -u http://example.com

Scan multiple URLs from a file:

python scanner.py -f urls.txt

📂 Output

All vulnerable URLs will be saved in vulnerable.txt.

⚠️ Disclaimer

This tool is intended for educational and authorized security testing purposes only. The developer is not responsible for any misuse.

🔗 GitHub: github.com/0xshaheen

File Snapshot

[4.0K] /data/pocs/ed98b7339ce48ba0b5a81c3514c0266d9412ac93 ├── [2.8K] exploit.py └── [1.0K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →