CVE-2025-24010

Vite allows any websites to send any requests to the development server and read the response

Published Jan 20, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-0195 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.
Github GHSA Github GHSA GHSA-vg6x-rcgg-rjx6 Websites were able to send any requests to the development server and read the response in vite
History
Type Values Removed Values Added
CPEs cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Vite allows any websites to send any requests to the development server and read the response
Weaknesses CWE-1385
CWE-346
CWE-350
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 21, 2025, 2:52 PM
Reserved
Jan 16, 2025, 5:31 PM
Status
Analyzed
Published
Jan 20, 2025, 4:15 PM
Modified
Jun 17, 2026, 8:57 AM
Severity
Moderate
Public date
Jan 20, 2025, 3:53 PM