CVE-2025-31125
HIGHCVSS v3
7.5
HIGH
EPSS Score
62.4%
exploit probability
CISA KEV
No
known exploited
Exploitation
—
SSVC status
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.
Technical Details
- Published
- 3/31/2025
Frequently Asked Questions
What is 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 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.
Is CVE-2025-31125 actively exploited?
Active exploitation of CVE-2025-31125 has not been confirmed. The EPSS score is 62.4%, indicating the estimated probability of exploitation in the next 30 days.
What is the CVSS score for CVE-2025-31125?
CVE-2025-31125 has a CVSS v3 base score of 7.5 (HIGH severity).
Is CVE-2025-31125 affecting your environment?
Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.