Skip to main content
← All vulnerabilities
CVE-2025-24010GHSA-VG6X-RCGG-RJX6

Vite allows any websites to send any requests to the development server and read the response

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.9, 5.4.12, 4.5.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vitejs vite

    From 6.0.0 · fixed in 6.0.9; From 5.0.0 · fixed in 5.4.12; fixed in 4.5.6

  • vitenpm

    From 6.0.0 · fixed in 6.0.9

  • vitenpm

    From 5.0.0 · fixed in 5.4.12

  • vitenpm

    fixed in 4.5.6

References 1

GitHub · vitejs/vite