CVE-2025-31125

HIGH CVSS 3.1: 7.5 EPSS 74.9% ACTIVE EXPLOIT
Updated Jun 17, 2026
Vitejs

CISA Known Exploited Vulnerability (KEV)

This vulnerability is actively exploited in the wild. Immediate patching is strongly recommended.

Due Date: Feb 12, 2026

Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 5.0.0 — 6.2.4
Fixed In 6.2.4
Type CWE-200 (Information Exposure), CWE-284 (Improper Access Control)
Vendor Vitejs
Public PoC Yes

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 5

Configuration From (including) Up to (excluding)
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
— 4.5.11
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
5.0.0 5.4.16
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
6.0.0 6.0.13
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
6.1.0 6.1.3
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
6.2.0 6.2.4