CVE-2025-31125 vitejs · vite
7.5 HighKEVEU
Official 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.
- Published
- 2025-03-31 17:15 UTC
- Modified
- 2026-06-17 09:09 UTC
- CVSS
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - EPSS
- 14.85% (percentile 97)
- CISA KEV
- added: 2026-01-22 · due date (US federal agencies): 2026-02-12
Vite Vitejs Improper Access Control Vulnerability - ENISA EUVD
- EUVD-2025-8866 · exploited: 2026-01-22
- CWE
- CWE-200
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- none
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8 - github.com
https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 - www.cisa.gov
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125