Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-24010 EUVD-2025-0195GHSA-vg6x-rcgg-rjx6

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

Published Jan 20, 2025 · Updated Jan 21, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
vitejs vite >= 6.0.0, < 6.0.9, >= 5.0.0, < 5.4.12, < 4.5.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm vite >= 6.0.0, < 6.0.9 6.0.9 GHSA-vg6x-rcgg-rjx6
npm vite >= 5.0.0, < 5.4.12 5.4.12 GHSA-vg6x-rcgg-rjx6
npm vite < 4.5.6 4.5.6 GHSA-vg6x-rcgg-rjx6

References