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…
Browse: All 2025 CVEs · All vendors
- CVSS score
- 5.3 Medium
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N- CISA KEV
- Yes — actively exploited (added 2026-01-22, remediation due 2026-02-12)
- Weakness (CWE)
- CWE-200, CWE-284
- Published
- 2025-03-31
- Last modified
- 2026-06-17
- NVD status
- Analyzed
Description
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.
Affected products
- vitejs vite
Affected ranges per NVD CPE data; confirm exact versions in the vendor advisory.
Required action (CISA)
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 remediation deadline: 2026-02-12.
How to prioritize this
This vulnerability is on the CISA KEV list, meaning it is being actively exploited — treat it as urgent regardless of the raw CVSS number. Use the live CVE lookup for the latest NVD data, and the CVSS 3.1 calculator to model your own environmental score.
References
- https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949
- https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125
FAQ
Is CVE-2025-31125 actively exploited?
Yes. CISA added CVE-2025-31125 to its Known Exploited Vulnerabilities (KEV) catalog on 2026-01-22, with a federal remediation deadline of 2026-02-12. A KEV listing means real-world exploitation is confirmed, so patching this should be prioritized above many higher-CVSS bugs that aren't being exploited.
What is the CVSS score of CVE-2025-31125?
CVE-2025-31125 has a CVSS base score of 5.3 (Medium). Its vector string is CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N.
Related vulnerabilities
- CVE-2025-68686 — Fortinet FortiOS
- CVE-2026-20133 — Cisco Catalyst SD-WAN Manager
- CVE-2026-20805 — Microsoft Windows
- CVE-2021-41277 — Metabase Metabase
- CVE-2024-24919 — Check Point Quantum Security Gateways
- CVE-2023-21237 — Android Pixel
Data source: NVD & CISA KEV. Shown as-is; nothing added. Last generated from NVD data — re-check the live tool for updates.
weekly kev brief
Patch what's actually being exploited.
One email a week: the KEV additions that matter, prioritized — no noise.
Free. No spam. Unsubscribe anytime. Delivered by Beehiiv.