Vite · Vitejs · CWE-200 · CWE-284 · published 2025-03-31
CVE-2025-31125Vite Vitejs Improper Access Control Vulnerability
This week Known exploited in the wild.
CVE-2025-31125 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2026-01-22. EPSS estimates a 74.9% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Vitejs vulnerability: CVSS 5.3 (v3.1), a successful attack gives total control of the component. CISA’s 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. US federal agencies must remediate by 2026-02-12. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA 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. (federal due date 2026-02-12)
Patch events
Other softwareVitejs
Improper Access ControlCVE-2025-31125
Why: Known exploited in the wild.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2026-01-22 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 75% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 5.3 (v3.1)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor · CWE-284: Improper Access Control
More from this vendor: all Vite vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- vitejs vite
>= 6.2.0, < 6.2.4(affected)>= 6.1.0, < 6.1.3(affected)>= 6.0.0, < 6.0.13(affected)>= 5.0.0, < 5.4.16(affected)< 4.5.11(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.