CVE-2025-24010: Vite allows any websites to send any requests to the development server and read the response
Vulnerability summary
CVE-2025-24010 is a medium (CVSS 6.5) Origin Validation Error vulnerability in vitejs vite. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 24.3% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 7Timeline
- 20-01-2025PublishedVulnerability first disclosed.
- 21-01-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.30% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundVite
Maturity: poc
Weaknesses
CWE · root cause- CWE-346Origin Validation ErrorThe product does not properly verify that the source of data or communication is valid.
- CWE-350Reliance on Reverse DNS Resolution for a Security-Critical ActionThe product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname.
- CWE-1385Missing Origin Validation in WebSocketsThe product uses a WebSocket, but it does not properly verify that the source of data or communication is valid.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- langfuse-2-worker< 2.95.12-r26
- langfuse-fips-2-worker< 2.95.12-r28
Npm1 product
- vite≥ 6.0.0, < 6.0.9 | ≥ 5.0.0, < 5.4.12 | < 4.5.6
Vitejs1 product
- vite< 4.5.6 | < 4.5.5 | ≥ 5.0.0, < 5.4.12 | ≥ 6.0.0, < 6.0.9
3 vendors · 4 products
References
4 links- github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6X Refsource CONFIRMWEBAdvisoryExploitMitigationThird Party Advisory
- github.com/vitejs/vitePACKAGE