7.5

CVE-2025-30208: vitejs vite

CVSS: 7.5v3.1HighAnalyzed
AliasesGHSA-x574-m823-4x7wCGA-2334-66w2-w5fqCGA-395r-jgmj-f2vp
Published 24-03-2025Last modified 24-03-2025

Vulnerability summary

CVE-2025-30208 is a high (CVSS 7.5) vulnerability in vitejs vite. EPSS estimates a 74.77% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
55/100
0100
High · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
74.77%
0%100%
Critical · -0.20 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, exploit-database

Advisory lineage

Upstream 0 · Downstream 0 · Related 5

Timeline

  1. 24-03-2025
    PublishedVulnerability first disclosed.
  2. 24-03-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

74.77%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

-0.20 pp

From 74.97% on 20-09-2026

20-09-202620-10-2026
EPSS score
74.77%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Vite

    Maturity: poc

  • exploit-databaseremotemultipleUnverified

    Vite 6.2.2 - Arbitrary File Read

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard2 products
  • langfuse-2-worker< 2.95.12-r26
  • langfuse-fips-2-worker< 2.95.12-r28
Npm1 product
  • vite≥ 6.2.0, < 6.2.3 | ≥ 6.1.0, < 6.1.2 | ≥ 6.0.0, < 6.0.12 | ≥ 5.0.0, < 5.4.15 | < 4.5.10
Vitejs1 product
  • vite< 4.5.10 | ≥ 5.0.0, < 5.4.15 | ≥ 6.0.0, < 6.0.12 | ≥ 6.1.0, < 6.1.2 | ≥ 6.2.0, < 6.2.3

3 vendors · 4 products

References

9 links