Skip to main content

Missing Origin Validation in WebSockets

CVE-2025-24010

Severity Medium
Score 6.5/10

Summary

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 versions 6.0.9, 5.4.12, and 4.5.6.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • NONE

CWE-1385 - Missing Origin Validation in WebSockets

The software uses a WebSocket, but it does not properly verify that the source of data or communication is valid.

Advisory Timeline

  • Published