CVE-2025-30208 — vitejs vite
As of 2025-03-24, CVE-2025-30208 is a MEDIUM-severity vulnerability in vitejs vite, CVSS v3.1 5.3, EPSS 74.7% (99.4th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2025-30208, most recently “Threat Actors Impersonate OpenAI, Anthropic, and DeepSeek AI Crawlers to Harvest Credentials and Secrets”.
Last updated: 2025-03-24
What is CVE-2025-30208?
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.
The record classifies CVE-2025-30208 under weakness classes CWE-200, CWE-284. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs a user to take an action first, and has high impact on confidentiality. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 538 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 5.3 — MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - EPSS (FIRST)
- 74.7% probability of exploitation in the next 30 days, higher than 99.4% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 9.1/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2025-03-24
Is CVE-2025-30208 being exploited?
Weaponised exploit code for CVE-2025-30208 is publicly available. 11 public proof-of-concept repositories are tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (http/cves/2025/CVE-2025-30208.yaml).
- ThumpBo/CVE-2025-30208-EXP (github)
- xuemian168/CVE-2025-30208 (github)
- 4xura/CVE-2025-30208 (github)
- marino-admin/Vite-CVE-2025-30208-Scanner (github)
- ThemeHackers/CVE-2025-30208 (github)
- jackieya/ViteVulScan (github)
- 4m3rr0r/CVE-2025-30208-PoC (github)
- nkuty/CVE-2025-30208-31125-31486-32395 (github)
Affected products and versions
- vitejs: vite
Affected software packages:
npm:vite— patched in 6.2.3npm:vite— patched in 6.1.2npm:vite— patched in 6.0.12npm:vite— patched in 5.4.15npm:vite— patched in 4.5.10
How to fix CVE-2025-30208
The record marks a vendor fix as available for CVE-2025-30208. Fixed versions are recorded for 5 packages: npm:vite 6.2.3, npm:vite 6.1.2, npm:vite 6.0.12, npm:vite 5.4.15, npm:vite 4.5.10. Patch reference: https://github.com/vitejs/vite/commit/315695e9d97cc6cfa7e6d9e0229fb50cdae3d9f4. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2025-30208
1 tracked threat in the Threadlinqs corpus references CVE-2025-30208, either in the campaign’s CVE list or as an indicator on the campaign record.
- Threat Actors Impersonate OpenAI, Anthropic, and DeepSeek AI Crawlers to Harvest Credentials and Secrets — MEDIUM · 2026-08-29
Sources
Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories, ProjectDiscovery Nuclei. Last verified by Threadlinqs on . This product uses the NVD API but is not endorsed or certified by the NVD.
Vendor advisory and patch
Other references
- github.com
- github.com (80381c38d6f068b12e6e928cd3c616bd1d64803c)
- github.com (807d7f06d33ab49c48a2a3501da3eea1906c0d41)
- github.com (92ca12dc79118bf66f2b32ff81ed09e0d0bd07ca)
- github.com (f234b5744d8b74c95535a7b82cc88ed2144263c1)
← all vulnerabilities · Markdown version · Threadlinqs Intelligence