CVE-2022-35204 json
Vite before v2.9.13 vulnerable to directory traversal via crafted URL to victim's service
published 2022-08-18 4 y ago modified 2026-06-17 4 mo ago also GHSA-mv48-hcvh-8jj8 , EUVD-2022-6589
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm vite 2.9.13, 3.0.0-beta.4
- vitejs vite 2.9.13
Exploit prediction
1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/vitejs/vite/issues/8498 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | vite | <2.9.13 >=3.0.0-alpha.0, <3.0.0-beta.4 |
2.9.13 3.0.0-beta.4 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/vitejs/vite/issues/8498
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/vitejs/vite/commit/6851009e6725b17608113a5a63474280075cae1c
web
-
github.com
/vitejs/vite/commit/e109d64331d9fa57753832762c3573c3532a6947
web
-
github.com
/vitejs/vite/releases/tag/v2.9.13
web, release-notes, third-party-advisory
-
github.com
/vitejs/vite/releases/tag/v3.0.0-beta.4
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-35204
advisory
-
github.com
/vitejs/vite
package
Sources
- CVE List CVE-2022-35204
- GitHub Advisory GHSA-mv48-hcvh-8jj8
- NVD CVE-2022-35204
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.