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-30208

5.3 · MEDIUM
Published Mar 24, 2025 vitejs CWE-200 EPSS 74.97% (99th pctl)

Overview

CVE-2025-30208 is a medium-severity vulnerability affecting vitejs vite. It was published on March 24, 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, 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.

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, < 4.5.10 Affected

Frequently Asked Questions

What is CVE-2025-30208?

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

How severe is CVE-2025-30208?

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-30208?

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-30208?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-30208 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.