CVE-2025-24010
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-01-20
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.3 %
higher than 21 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| vite (npm) | < 4.5.6 | Affected | |
| vite (npm) | ≥ 5.0.0, < 5.4.12 | Affected | |
| vite (npm) | ≥ 6.0.0, < 6.0.9 | Affected | |
| Vitejs | Vite | < 4.5.5 | Affected |
| Vitejs | Vite | ≥ 5.0.0, < 5.4.12 | Affected |
| Vitejs | Vite | ≥ 6.0.0, < 6.0.9 | Affected |
Weakness type
-
CWE-1385: Missing Origin Validation in WebSockets
The product uses a WebSocket, but it does not properly verify that the source of data or communication is valid.
-
CWE-346: Origin Validation Error
The product does not properly verify that the source of data or communication is valid.
-
CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action
The 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.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1134: Access Token Manipulation
- T1134.001: Token Impersonation/Theft
- T1528: Steal Application Access Token
- T1539: Steal Web Session Cookie
- T1550.004: Web Session Cookie
- T1557.002: ARP Cache Poisoning
- T1584.002: DNS Server
References
Related at Berigo
Articles
-
Russian clusters bypass two step verification by asking for app passwords
Same product
2026-08-24
Google Threat Intelligence Group described three clusters linked to Russian intelligence on 20 August 2026, targeting academics, the defence industry…
-
The AI notetaker let strangers into the meetings, and no one had to break in
Same product
2026-08-06
Security researcher BobDaHacker reports that AI notetaker tl;dv lacked separation between customers in its database, so any signed-in user could pull…
-
Signed malware posing as Teams and Zoom installs remote management tools
Same product
2026-03-03
Microsoft has uncovered phishing campaigns where fake meeting invitations lead to signed installers that leave legitimate remote management tools beh…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.