Cross-Site Scripting in http-file-server
Moderate severity
GitHub Reviewed
Published
Jul 31, 2019
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Jul 30, 2019
Reviewed
Jul 31, 2019
Published to the GitHub Advisory Database
Jul 31, 2019
Last updated
Feb 1, 2023
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 currently available. Consider using an alternative package until a fix is made available.
References