GHSA-x574-m823-4x7w · Severity: medium · Ecosystem: npm — Vite bypasses server.fs.deny when using ?raw??
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.
Conclusion & alert: CVE-2025-30208 is rated High Exploit Risk (71.9/100): CVSS Medium severity, with high exploitation likelihood (EPSS 89.85%, 100th percentile). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 52111 | exploit_db | edb | 2025-04-03 | Exploit-DB ↗ |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-02 | 88.96% | 89.85% | +0.89% |
| 2 | 2026-03-04 | 90.45% | 88.96% | -1.50% |
| 3 | 2026-03-03 | — | 90.45% | — |
Full EPSS history (59 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
1.6 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-x574-m823-4x7w · Severity: medium · Ecosystem: npm — Vite bypasses server.fs.deny when using ?raw??
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-30208 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vitejs | vite | < 4.5.10 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 5.0.0, < 5.4.15 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.0.0, < 6.0.12 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.1.0, < 6.1.2 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.2.0, < 6.2.3 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |