CVE-2025-58752
MEDIUMDescription
Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, any HTML files on the machine were served regardless of the `server.fs` settings. Only apps that explicitly expose the Vite dev server to the network (using --host or server.host config option) and use `appType: 'spa'` (default) or `appType: 'mpa'` are affected. This vulnerability also affects the preview server. The preview server allowed HTML files not under the output directory to be served. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 44% of all known CVEs.
References
Related Vulnerabilities
Other CWE-23 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-27199 | High | 7.3 | 100% | KEV + Ransom | Fix |
| CVE-2020-5410 | High | 7.5 | 96% | KEV | Fix |
| CVE-2021-40870 | Critical | 9.8 | 92% | KEV | Fix |
| CVE-2025-64446 | Critical | 9.8 | 89% | KEV | Fix |
| CVE-2020-5405 | Medium | 6.5 | 69% | - | Fix |
| CVE-2025-55752 | High | 7.5 | 67% | - | Fix |
Embed a live status badge for CVE-2025-58752
Markdown
[](https://tridentstack.com/cve/CVE-2025-58752)HTML
<a href="https://tridentstack.com/cve/CVE-2025-58752"><img src="https://tridentstack.com/cve/badge/CVE-2025-58752.svg" alt="CVE-2025-58752"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-17.