cve.bz

CVE-2025-58751

2.3 lowEPSS 1.2%

Low (2.3) in vitejs vite. EPSS 1.2% chance of exploitation in the next 30 days. Fixed in vite 5.4.20, 6.3.6, 7.0.7.

Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, files starting with the same name with the public directory were served bypassing the `server.fs` settings. Only apps that explicitly expose the Vite dev server to the network (using --host or `server.host` config option), use the public directory feature (enabled by default), and have a symlink in the public directory are affected. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.

Severity

CVSS 4.0

2.3 low
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
1.2% chance of exploitation in the next 30 days; higher than 68% of CVEs (scores of 2026-10-31)
CWEs
CWE-22, CWE-200, CWE-284
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g4jq-h2w9-997cnpmvite>=7.1.0 <7.1.57.1.5
GHSA-g4jq-h2w9-997cnpmvite>=7.0.0 <7.0.77.0.7
GHSA-g4jq-h2w9-997cnpmvite>=6.0.0 <6.3.66.3.6
GHSA-g4jq-h2w9-997cnpmvite<5.4.205.4.20

References

Check your stackJSON