GitHub Advisory Database
GHSA-754x-4jwp-cqp6
Cross-Site Scripting in http_server
Details
All versions of http_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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | http_server | All versions up to and including 1.0.12 |