Vite before v2.9.13 vulnerable to directory traversal via crafted URL to victim's service
Vite before v2.9.13 was discovered to allow attackers to perform a directory traversal via a crafted URL to the victim's service.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | vite | < 2.9.13, >= 3.0.0-alpha.0, < 3.0.0-beta.4 | 2.9.13, 3.0.0-beta.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-35204
- https://github.com/vitejs/vite/issues/8498
- https://github.com/vitejs/vite/commit/6851009e6725b17608113a5a63474280075cae1c
- https://github.com/vitejs/vite/commit/e109d64331d9fa57753832762c3573c3532a6947
- https://github.com/vitejs/vite
- https://github.com/vitejs/vite/releases/tag/v2.9.13
- https://github.com/vitejs/vite/releases/tag/v3.0.0-beta.4
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N- Weakness (CWE)
CWE-22- Platform
- npm
- Package
vite- Disclosed
- 19.08.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-mv48-hcvh-8jj8 - CC BY 4.0
Vulnerability history: vite
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 24
- First → latest
- 08.2022 10.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- High 8
- Medium 14
- Low 2
Disclosures per year
- 2022: 1
- 2023: 2
- 2024: 4
- 2025: 9
- 2026: 8
-
Vite before v2.9.13 vulnerable to directory traversal via crafted URL to victim's service this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.