Live threats

All CVEs / Vitejs

CVE-2022-35204Vitejs Vite

Medium 4.3 No auth needed

Priority
41
CVSS 3.1
4.3
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Aug 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

What happens

Vitejs Vite before v2.9.13 was discovered to allow attackers to perform a directory traversal via a crafted URL to the victim's service.

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 < 2.9.13 2.9.13 npm install vite@2.9.13
npm vite ≥ 3.0.0-alpha.0 < 3.0.0-beta.4 3.0.0-beta.4 npm install vite@3.0.0-beta.4

Per OSV / GitHub Advisories (GHSA-mv48-hcvh-8jj8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vitejsvite< 2.9.13

Official sources

References

Links published by the sources. Open them with care.