CVE-2025-31125
Vite Vitejs Improper Access Control
- Published31 Mar 2025
- Added to CISA KEV22 Jan 2026
- Remediation due12 Feb 2026
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.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NAffected products
Remediation
References
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2025-31125 being actively exploited?
Yes. CVE-2025-31125 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added 22 Jan 2026.
How severe is CVE-2025-31125?
CVE-2025-31125 has a CVSS 3.1 base score of 5.3, rated medium. EPSS estimates a 65.2% probability of exploitation.
Which products are affected by CVE-2025-31125?
Affected products include Vitejs Vite.
How do I fix CVE-2025-31125?
Upgrade affected software to a fixed version, for example Vitejs Vite 5.4.16 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2025-31125 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. Because it is on the CISA KEV list, Secuno flags any affected asset as top-priority automatically. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.