CVE-2025-58751: Vitejs Vite

Medium severity, CVSS 5.3. EPSS: 1.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Vitejs Vite: before 5.4.20 (fixed in 5.4.20); from 6.0.0, before 6.3.6 (fixed in 6.3.6); from 7.0.0, before 7.0.7 (fixed in 7.0.7); from 7.1.0, before 7.1.5 (fixed in 7.1.5)

Published 2025-09-08. Last modified 2026-06-17.