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
- Vite middleware may serve files starting with the same name with the public directory - CVE-2025-58751
- webpack-dev-server users' source code may be stolen when they access a malicious web site - CVE-2025-30359
- Vite's server.fs.deny bypassed with /. for files under project root - CVE-2025-46565
- Vite allows server.fs.deny to be bypassed with .svg or relative paths - CVE-2025-31486
- Tags:
- npm
- vite
Anything's wrong? Let us know Last updated on September 23, 2024