CVE & CISA-KEV Catalog

CVE-2025-58752

MEDIUM
5.3
CVSS v3
NVD

Description

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 Available
viteNVD
Affected:>= 7.1.0, < 7.1.5Fixed in:7.1.5CVE-2025-58752derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploit Intelligence

0.59%probability of exploitation in 30 days
44thpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2024-27199High7.3100%KEV + RansomFix
CVE-2020-5410High7.596%KEVFix
CVE-2021-40870Critical9.892%KEVFix
CVE-2025-64446Critical9.889%KEVFix
CVE-2020-5405Medium6.569%-Fix
CVE-2025-55752High7.567%-Fix
Embed a live status badge for CVE-2025-58752
CVE-2025-58752 severity badge

Markdown

[![CVE-2025-58752](https://tridentstack.com/cve/badge/CVE-2025-58752.svg)](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 free

This 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.