Live threats

All CVEs / Vitejs

CVE-2025-24010Vitejs Vite

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Jan 20, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-346, CWE-350, CWE-1385
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vite.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm vite ≥ 6.0.0 < 6.0.9 6.0.9 npm install vite@6.0.9
npm vite ≥ 5.0.0 < 5.4.12 5.4.12 npm install vite@5.4.12
npm vite < 4.5.6 4.5.6 npm install vite@4.5.6

Per OSV / GitHub Advisories (GHSA-vg6x-rcgg-rjx6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vitejsvite< 4.5.5
vitejsvite≥ 5.0.0 < 5.4.12
vitejsvite≥ 6.0.0 < 6.0.9

Official sources

References

Links published by the sources. Open them with care.

  • github.com Exploit Mitigation Third Party Advisory