Vulnerabilities · 2022 · Vitejs
CVE-2022-35204
Vitejs Vite vulnerability
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.
Affected products
Vite. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vitejs Vite runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/vitejs/vite/issues/8498 · Exploit
- github.com/vitejs/vite/releases/tag/v2.9.13 · Third Party Advisory
- github.com/vitejs/vite/releases/tag/v3.0.0-beta.4 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-35204
- github.com/vitejs/vite/commit/6851009e6725b17608113a5a63474280075cae1c
- github.com/vitejs/vite/commit/e109d64331d9fa57753832762c3573c3532a6947
- github.com/advisories/GHSA-mv48-hcvh-8jj8
- nvd.nist.gov/vuln/detail/CVE-2022-35204
- cve.org/CVERecord?id=CVE-2022-35204
More vulnerabilities in Vitejs products
CVE-2025-58752CVE-2025-58751CVE-2025-46565CVE-2025-31125CVE-2025-30208CVE-2025-24010CVE-2024-23331CVE-2023-49293All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.