CVE-2019-5458
MEDIUM5.4EPSS 0.14%Cross-Site Scripting in http-file-server
Published: 7/31/2019Modified: 11/8/2023
Also known as:GHSA-7j93-2h6r-hm49
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 currently available. Consider using an alternative package until a fix is made available.
Affected packages (1)
- npm/http-file-serverfrom 0, <= 0.2.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |