Description
Files denied by server.fs.deny were sent if the URL ended with \ when the dev server is running on Windows.
Recommendation
Update the vite package to the latest compatible version. Followings are version details:
Affected version(s): **>= 5.2.6, <= 5.4.20 >= 4.5.3, < 5.0.0 >= 3.2.9, < 4.0.0 >= 2.9.18, < 3.0.0 >= 6.0.0, <= 6.4.0 >= 7.0.0, <= 7.0.7 >= 7.1.0, <= 7.1.10** Patched version(s): **5.4.21 6.4.1 7.0.8 7.1.11**
References
Related Issues
- Vite's `server.fs` settings were not applied to HTML files - CVE-2025-58752
- Vite middleware may serve files starting with the same name with the public directory - CVE-2025-58751
- Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query - CVE-2025-31125
- OpenPGP.js's message signature verification can be spoofed - CVE-2025-47934
- Tags:
- npm
- vite
Anything's wrong? Let us know Last updated on October 21, 2025