CVE-2025-24010

MEDIUM CVSS 3.1: 6.5 EPSS 0.30%
Updated Sep 19, 2025
Vitejs
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions 5.0.0 — 6.0.9
Fixed In 6.0.9
Type CWE-350, CWE-346 (Origin Validation Error), CWE-1385
Vendor Vitejs
Public PoC No

Vite is a frontend tooling framework for javascript. Vite allowed any websites to send any requests to the development server and read the response due to default CORS settings and lack of validation on the Origin header for WebSocket connections. This vulnerability is fixed in 6.0.9, 5.4.12, and 4.5.6.

Attack Parameters

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

Impact Assessment

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

CVSS Vector v3.1

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
— 4.5.5
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
5.0.0 5.4.12
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
6.0.0 6.0.9