CVE-2025-24010

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

Affected Software

VendorProductVersion RangeStatus
vitejsvite>= 6.0.0, < 6.0.9affected
vitejsvite>= 5.0.0, < 5.4.12affected
vitejsvite< 4.5.6affected

Weaknesses

  • CWE-346: CWE-346: Origin Validation Error
  • CWE-350: CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action
  • CWE-1385: CWE-1385: Missing Origin Validation in WebSockets

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: partial

References