medium5.4
CVE-2019-5457
Cross-Site Scripting in min-http-server
Impact
All versions of `min-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 | Fixed in |
|---|---|---|---|
| npm | min-http-server | <= 1.0.6 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Min-Http-Server Project | Min-Http-Server | Versions 1.0.0, 1.0.2, 1.0.4, 1.0.6 |