GHSA-g4jq-h2w9-997c · Severity: low · Ecosystem: npm — Vite middleware may serve files starting with the same name with the public directory
Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, files starting with the same name with the public directory were served bypassing the `server.fs` settings. Only apps that explicitly expose the Vite dev server to the network (using --host or `server.host` config option), use the public directory feature (enabled by default), and have a symlink in the public directory are affected. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.
Conclusion & alert: CVE-2025-58751 is rated Exploit Available (51.8/100): CVSS Low severity, with medium exploitation likelihood (EPSS 1.42%). Core evidence: 1 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 |
|---|---|---|---|---|
| — | 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-03-11 | 1.92% | 1.42% | -0.50% |
| 2 | 2026-02-16 | 1.66% | 1.92% | +0.26% |
| 3 | 2026-02-07 | — | 1.66% | — |
Full EPSS history (17 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 2.3 | 4.0 | LOW |
|
— | — | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-g4jq-h2w9-997c · Severity: low · Ecosystem: npm — Vite middleware may serve files starting with the same name with the public directory
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2025-58751 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vitejs | vite | < 5.4.20 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.0.0, < 6.3.6 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 7.0.0, < 7.0.7 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 7.1.0, < 7.1.5 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |