What’s Vulnerable › Vulnerabilities

CVE-2025-24010: Vite allows any websites to send any requests to the development server and read the response

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

How to fix

Upgrade to a fixed version: vitejs vite 4.5.5, 5.4.12, 6.0.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-24010 or the next vulnerability affects your stack