# CVE-2025-31125

## Summary

- **CVE ID:** CVE-2025-31125
- **Severity:** MEDIUM
- **CVSS Score:** 5.3 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N)
- **CWE:** CWE-200, CWE-284
- **Published:** Mar 31, 2025
- **Last Modified:** Jan 23, 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.

## Affected Products

- vitejs — vite (>= 6.2.0, < 6.2.4)
- vitejs — vite (>= 6.1.0, < 6.1.3)
- vitejs — vite (>= 6.0.0, < 6.0.13)
- vitejs — vite (>= 5.0.0, < 5.4.16)
- vitejs — vite (< 4.5.11)

## References

- [CNA](https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8)
- [CNA](https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949)
- [CISA-ADP](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 58.46%
- **EPSS Percentile:** 99.0

## Known Exploited Vulnerabilities (KEV)

- **Date Added:** Jan 22, 2026
- **Due Date:** Feb 12, 2026

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._