~ / search / GHSA-7j93-2h6r-hm49

GHSA-7j93-2h6r-hm49

Cross-Site Scripting in http-file-server

Source: GitHub Advisory Database (reviewed) Moderate CVE-2019-5458

Packages

EcosystemPackageAffectedFixed in
npm http-file-server <= 0.2.6 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.