CVE-2025-24010
MEDIUM 6.5CVSS 3.1Websites were able to send any requests to the development server and read the response in vite
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.
- Published
- 20 Jan 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1385CWE-346CWE-350
- Also known as
- GHSA-vg6x-rcgg-rjx6
- Sources
- NVDJSONOSV GHSA-vg6x-rcgg-rjx6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vitejs | vitecpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
< 4.5.5 | 4.5.5 |
| NVD | vitejs | vitecpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
>= 5.0.0, < 5.4.12 | 5.4.12 |
| NVD | vitejs | vitecpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
>= 6.0.0, < 6.0.9 | 6.0.9 |
| OSV | npm | vite | >= 6.0.0, < 6.0.9 | 6.0.9 |
| OSV | npm | vite | >= 5.0.0, < 5.4.12 | 5.4.12 |
| OSV | npm | vite | < 4.5.6 | 4.5.6 |
References
- https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6 · Exploit, Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-24010 · ADVISORY
- https://github.com/vitejs/vite · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Jan 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jan 2025)