CVE-2025-31125

MEDIUM CISA KEV

CVSS v3

5.3

MEDIUM

EPSS Score

exploit probability

CISA KEV

Yes

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.

CISA Known Exploited Vulnerability

Date Added
1/22/2026
Patch Due Date
2/12/2026
Required Action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Technical Details

CVSS v3 Vector
3.1
Published
3/31/2025
Last Modified
1/23/2026

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?

Yes. CVE-2025-31125 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2/12/2026.

What is the CVSS score for CVE-2025-31125?

CVE-2025-31125 has a CVSS v3 base score of 5.3 (MEDIUM severity), with vector string 3.1.

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.

CVE-2025-31125 Vulnerability — CVSS 5.3, MEDIUM Severity | isMalicious