5.3

CVE-2025-58752: Vite's `server.fs` settings were not applied to HTML files

Analyzed
AliasesCGA-234j-9f66-ccqxCGA-34cf-7rqw-86cpCGA-3xf5-qp7j-v2vp
Published 08-09-2025Last modified 09-09-2025

Vulnerability summary

CVE-2025-58752 is a medium (CVSS 5.3) Relative Path Traversal vulnerability in vitejs vite. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 52.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
0.66%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 08-09-2025
    PublishedVulnerability first disclosed.
  2. 09-09-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.61% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Vite

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard12 products
  • gitlab-rails-ce-18.1All versions (No fix recorded)
  • gitlab-rails-ce-fips-18.1All versions (No fix recorded)
  • langfuse-2-worker< 2.95.12-r26
  • langfuse-3-compat< 3.225.7-r6
  • langfuse-3-worker< 3.179.1-r3
Wolfi5 products
  • langfuse-3-compat< 3.225.7-r6
  • langfuse-3-worker< 3.179.1-r3
  • vitess-23< 23.0.0-r2
  • vitess-23-binaries< 23.0.0-r2
  • vitess-23-compat< 23.0.0-r2
Npm1 product
  • vite≥ 7.1.0, < 7.1.5 | ≥ 7.0.0, < 7.0.7 | ≥ 6.0.0, < 6.3.6 | < 5.4.20
Vitejs1 product
  • vite< 5.4.20 | ≥ 6.0.0, < 6.3.6 | ≥ 7.0.0, < 7.0.7 | ≥ 7.1.0, < 7.1.5

4 vendors · 19 products

References

9 links