Vite before v2.9.13 vulnerable to directory traversal via crafted URL to victim's service
- Severity:
- High
Description
Vite before v2.9.13 was discovered to allow attackers to perform a directory traversal via a crafted URL to the victim’s service.
Recommendation
Update the vite package to the latest compatible version. Followings are version details:
Affected version(s): **>= 3.0.0-alpha.0, < 3.0.0-beta.4 < 2.9.13** Patched version(s): **3.0.0-beta.4 2.9.13**
References
Related Issues
- matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal - CVE-2024-50336
- vite allows server.fs.deny bypass via backslash on Windows - CVE-2025-62522
- webpack-dev-server users' source code may be stolen when they access a malicious web site - CVE-2025-30359
- Vite middleware may serve files starting with the same name with the public directory - CVE-2025-58751
- Tags:
- npm
- vite
Anything's wrong? Let us know Last updated on September 23, 2024