CVE-2025-24010

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.
References
Link Resource
https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6 Exploit Third Party Advisory Mitigation
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*

History

19 Sep 2025, 18:35

Type Values Removed Values Added
First Time Vitejs vite
Vitejs
CPE cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
Summary
  • (es) Vite es una herramienta de interfaz framework para JavaScript. Vite permitía que cualquier sitio web enviara solicitudes al servidor de desarrollo y leyera la respuesta debido a la configuración CORS predeterminada y la falta de validación en el encabezado Origin para las conexiones WebSocket. Esta vulnerabilidad se solucionó en 6.0.9, 5.4.12 y 4.5.6.
References () https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6 - () https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6 - Exploit, Third Party Advisory, Mitigation

20 Jan 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-20 16:15

Updated : 2025-09-19 18:35


NVD link : CVE-2025-24010

Mitre link : CVE-2025-24010

CVE.ORG link : CVE-2025-24010


JSON object : View

Products Affected

vitejs

  • vite
CWE
CWE-346

Origin Validation Error

CWE-350

Reliance on Reverse DNS Resolution for a Security-Critical Action

CWE-1385

Missing Origin Validation in WebSockets