CVE-2025-24010 Vite allows any websites to send any requests to the development server and read the response
MediumCVSS 6.5
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm vite(npm) | < 4.5.6; <= 4.5.5; >= 5.0.0, < 5.4.12; >= 5.0.0, <= 5.4.11 +2 more | 4.5.6, 5.4.12, 6.0.9 | Fixed |
| vitejs vite | < 4.5.5; = < 4.5.6; = >= 5.0.0, < 5.4.12; = >= 6.0.0, < 6.0.9 +2 more | 4.5.5, 5.4.12, 6.0.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm vite(npm) | >= 6.0.0, <= 6.0.8 | No fix listed |
| npm vite(npm) | >= 5.0.0, <= 5.4.11 | No fix listed |
| npm vite(npm) | <= 4.5.5 | No fix listed |
| vitejs vite | = >= 6.0.0, < 6.0.9 | No fix listed |
| vitejs vite | = >= 5.0.0, < 5.4.12 | No fix listed |
| vitejs vite | = < 4.5.6 | No fix listed |
| vitejs vite | < 4.5.5 | 4.5.5 |
| vitejs vite | >= 5.0.0, < 5.4.12 | 5.4.12 |
| vitejs vite | >= 6.0.0, < 6.0.9 | 6.0.9 |
| npm vite(npm) | >= 6.0.0, < 6.0.9 | 6.0.9 |
| npm vite(npm) | >= 5.0.0, < 5.4.12 | 5.4.12 |
| npm vite(npm) | < 4.5.6 | 4.5.6 |
References
- https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6 exploit mitigation third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product