CVE-2025-31125
Vite Vitejs Improper Access Control Vulnerability
What is affected
| Vendor | Vite |
|---|---|
| Product | Vitejs |
| Weakness | CWE-200, CWE-284 |
The vulnerability
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.
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 civilian agencies were required to act by 12 February 2026 under BOD 22-01. The deadline is a compliance date, not a measure of severity — it says nothing about how dangerous the flaw is to anyone else.
Where this comes from
Every field on this page is taken from the CISA Known Exploited Vulnerabilities catalog, last synced 12 Nov 2026, 00:29. Nothing here is our own assessment. For the technical scoring, see the NVD record below.