Vite Vitejs Improper Access Control Vulnerability
vitejs — vite
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.
5.3
58.8%
Vector breakdown
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- Published
- Mar 31, 2025
- Modified
- Jan 23, 2026
- Added to KEV
- Jan 22, 2026
- Federal patch due
- Feb 12, 2026
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.
Weakness classification
Proof-of-concept & exploitation references
Weaponization
Public repositories whose name or description references CVE-2025-31125, found via a live GitHub search at request time. These are community-sourced signals, not a verified working exploit - cross-check each one before relying on it, and treat higher star counts and recent activity as (weak) corroboration, not proof.
No public GitHub repositories referencing CVE-2025-31125 were found at last check. Absence here is not proof no exploit exists - see the references below for vendor advisories and write-ups.
References
Frequently asked questions
What is CVE-2025-31125?
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.
How severe is CVE-2025-31125?
CVE-2025-31125 has a CVSS base score of 5.3 out of 10 (CVSS 3.1).
Is CVE-2025-31125 actively exploited in the wild?
Yes. CVE-2025-31125 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added Jan 22, 2026, meaning CISA has confirmed evidence of active exploitation.
What is the EPSS score for CVE-2025-31125?
58.8% - meaning FIRST.org's EPSS model estimates a 58.8% probability this vulnerability will be exploited in the wild within 30 days (99% percentile among all scored CVEs).
Is there exploit tooling available for CVE-2025-31125?
Yes - a public Nuclei template referencing CVE-2025-31125 exist in public repositories we checked.
What type of vulnerability is CVE-2025-31125?
CVE-2025-31125 is classified under CWE-200, CWE-284 (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor).
Cross-checked against
Impactr finds and proves whether CVE-2025-31125 - or flaws like it - are actually reachable in your own web apps and APIs, with a reproducible exploit as evidence.
Join the waitlist