Description
The contents of arbitrary files can be returned to the browser.
Recommendation
Update the vite
package to the latest compatible version. Followings are version details:
Affected version(s): **< 4.5.10 >= 5.0.0, < 5.4.15 >= 6.0.0, < 6.0.12 >= 6.1.0, < 6.1.2 >= 6.2.0, < 6.2.3** Patched version(s): **4.5.10 5.4.15 6.0.12 6.1.2 6.2.3**
References
Related Issues
- min-document vulnerable to prototype pollution - CVE-2025-57352
- Vite's `server.fs` settings were not applied to HTML files - CVE-2025-58752
- Remote code execution via the `pretty` option. - CVE-2021-21353
- Vite's server.fs.deny bypassed with /. for files under project root - CVE-2025-46565
- Tags:
- npm
- vite
Anything's wrong? Let us know Last updated on March 25, 2025