CVE-2025-24010: vitejs vite Origin Validation Error
CVSS: 6.5v3.1MediumAnalyzed
AliasesGHSA-vg6x-rcgg-rjx6CGA-8mmc-4h49-gf6vCGA-9gf6-2hqh-w9hqCGA-9mmr-37ch-r679CGA-q3r2-p2p5-chg5
Published 20-01-2025Last modified 21-01-2025
Vulnerability summary
CVE-2025-24010 is a medium (CVSS 6.5) Origin Validation Error vulnerability in vitejs vite. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.6% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
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 versionMedium 6.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NSourcesAll 4 agree
- 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.29%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
0.00 pp
From 0.29% on 20-09-2026
20-09-202620-10-2026
EPSS score0.29%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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
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