CVE-2025-31125
Attackers are using this
High severity
Published March 31, 2025
· updated June 17, 2026
Attackers are using this.
CISA added it to its list of vulnerabilities being exploited on January 22, 2026.
CISA's advice: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
What it is
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.
What it affects, and the version that fixes it
- Vite Make sure you are on 6.2.4 or later.