Known exploited vulnerability · Vite
CVE-2025-31125: Vite Vitejs Improper Access Control Vulnerability
Vendor / productVite Vitejs
Added to CISA KEV2026-01-22
Federal remediation due2026-02-12
EPSS (30-day exploit probability)74.94% · higher than 99.5% of all CVEs
WeaknessCWE-200, CWE-284
What it is
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.
What to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Advisories and references
- https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949
- https://nvd.nist.gov/vuln/detail/CVE-2025-31125
Get the weekly list of actively exploited vulnerabilities.
Every Thursday: new CISA KEV entries ranked by exploitation probability, with vendor patch links. Free, no spam.