Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-58752

5.3 · MEDIUM
Published Sep 8, 2025 vitejs CWE-23 EPSS 0.61% (47th pctl)

Overview

CVE-2025-58752 is a medium-severity vulnerability affecting vitejs vite. It was published on September 8, 2025 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from vitejs. Update vite to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
vitejs vite >= 0, < 5.4.20 Affected

Frequently Asked Questions

What is CVE-2025-58752?

CVE-2025-58752 is a medium-severity vulnerability affecting vitejs vite. It was published on September 8, 2025 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

How severe is CVE-2025-58752?

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-58752?

Check the references section for vendor advisories and patches from vitejs. Update vite to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-58752?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-58752 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.