Overview
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.
This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 ; https://nvd.nist.gov/vuln/detail/CVE-2025-31125
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2025-31125 |
| Vendor / Product | Vite — Vitejs |
| NVD Published | 2025-03-31 |
| NVD Last Modified | 2026-01-23 |
| CVSS 3.1 Score | 5.3 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| Severity | MEDIUM |
| CWE | CWE-200 |
| CISA KEV Added | 2026-01-22 |
| CISA KEV Deadline | 2026-02-12 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Required Action
CISA BOD 22-01 Deadline: 2026-02-12.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Timeline
| Date | Event |
|---|---|
| 2026-01-22 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2026-02-12 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2025-31125 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |