Description
All versions of http-file-server are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize filenames, allowing attackers to execute arbitrary JavaScript in the victim’s browser through files with names containing malicious code.
Recommendation
No fix is available yet. Followings are affected versions:
- <= 0.2.6
References
Related Issues
- Cross-Site Scripting in min-http-server - CVE-2019-5457
- Path Traversal in http-file-server - CVE-2019-5447
- Cross-site Scripting (XSS) - Stored in crud-file-server - CVE-2018-3726
- Parse Server vulnerable to stored cross-site scripting (XSS) via SVG file upload - CVE-2026-30948
- Tags:
- npm
- http-file-server
Anything's wrong? Let us know Last updated on February 01, 2023