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
- Cross-site Scripting (XSS) - Stored in crud-file-server - CVE-2018-3726
- Path Traversal in http-file-server - CVE-2019-5447
- AngularJS Cross-site Scripting due to failure to sanitize `xlink.href` attributes - CVE-2019-14863
- Tags:
- npm
- http-file-server
Anything's wrong? Let us know Last updated on February 01, 2023