CVE-2022-35204
MEDIUM 4.3CVSS 3.1Vite before v2.9.13 vulnerable to directory traversal via crafted URL to victim's service
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.
- Published
- 18 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-mv48-hcvh-8jj8
- Sources
- NVDJSONOSV GHSA-mv48-hcvh-8jj8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vitejs | vitecpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
< 2.9.13 | 2.9.13 |
| OSV | npm | vite | < 2.9.13 | 2.9.13 |
| OSV | npm | vite | >= 3.0.0-alpha.0, < 3.0.0-beta.4 | 3.0.0-beta.4 |
References
- https://github.com/vitejs/vite/issues/8498 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/vitejs/vite/releases/tag/v2.9.13 · Release Notes, Third Party Advisory, WEB
- https://github.com/vitejs/vite/releases/tag/v3.0.0-beta.4 · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-35204 · ADVISORY
- https://github.com/vitejs/vite/commit/6851009e6725b17608113a5a63474280075cae1c · WEB
- https://github.com/vitejs/vite/commit/e109d64331d9fa57753832762c3573c3532a6947 · WEB
- https://github.com/vitejs/vite · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Aug 2022)