5.3
Medium
Exploited
CVE-2025-31125 Vite Vitejs Improper Access Control Vulnerability
Active exploitation observed
· CISA KEV catalogue
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Ransomware campaigns
Not observed so far
Weakness
CWE-284, CWE-200
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.
Affected products and versions
References
- github.com github.com
- github.com github.com
Timeline
- Published
- Added to the KEV catalogue
- Last modified
Other CVEs of vite
The 28 CVEs of vite →
CVE-2026-118662
Vite is a frontend tooling framework for JavaScript
6.9
Medium
CVE-2026-112947
Vite is a frontend tooling framework for JavaScript
6.3
Medium
CVE-2026-112946
Vite is a frontend tooling framework for JavaScript
6.3
Medium
CVE-2026-112945
Vite is a frontend tooling framework for JavaScript
2.1
Low