[ CVE-2025-31125 · Published 31 Mar 2025 ]

Vite Vitejs Improper Access Control Vulnerability

Exploited · CISA KEV CVSS 7.5 EPSS 65%Fix available

[ Why it matters ]Priority signals

  • Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2026-01-22
  • EPSS: 65% chance of exploitation in the next 30 days (higher than 99% of CVEs)

[ Description ]Official description

Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. This vulnerability is fixed in 6.2.4, 6.1.3, 6.0.13, 5.4.16, and 4.5.11.

CISA: Vite Vitejs contains an improper access control vulnerability that exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected.

[ Fixes ]Fixes and patches

CISA required action (US federal deadline 12 Feb 2026): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.