Live threats

All CVEs / vitejs

CVE-2025-62522vitejs vite

Medium 6.0 No auth needed

Priority
51
CVSS 4.0
6.0
EPSS
—
Auth required
No
Published
Oct 20, 2025
Updated
Oct 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Vite is a frontend tooling framework for JavaScript. In versions from 2.9.18 to before 3.0.0, 3.2.9 to before 4.0.0, 4.5.3 to before 5.0.0, 5.2.6 to before 5.4.21, 6.0.0 to before 6.4.1, 7.0.0 to before 7.0.8, and 7.1.0 to before 7.1.11, files denied by server.fs.deny were sent if the URL ended with \ when the dev server is running on Windows. Only apps explicitly exposing the Vite dev server to the network and running the dev server on Windows were affected. This issue has been patched in versions 5.4.21, 6.4.1, 7.0.8, and 7.1.11.

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 ≥ 7.1.0 < 7.1.11 7.1.11 npm install vite@7.1.11
npm vite ≥ 7.0.0 < 7.0.8 7.0.8 npm install vite@7.0.8
npm vite ≥ 6.0.0 < 6.4.1 6.4.1 npm install vite@6.4.1
npm vite ≥ 2.9.18 < 5.4.21 5.4.21 npm install vite@5.4.21
npm vite ≥ 3.2.9 < 5.4.21 5.4.21 npm install vite@5.4.21
npm vite ≥ 4.5.3 < 5.4.21 5.4.21 npm install vite@5.4.21
npm vite ≥ 5.2.6 < 5.4.21 5.4.21 npm install vite@5.4.21

Per OSV / GitHub Advisories (GHSA-93m4-6634-74q7). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.