CVE-2025-62522vitejs vite
Medium 6.0 No auth needed
Follow: this CVE · vitejs · vitejs vite We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for vite.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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
- vitejs · vite
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Multiple Vulnerabilities in SIDIS Prime Before V4.0.800 · Siemens · SSA-485750 · Mar 10, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.