CVE-2019-5458 – http-file-server
Package
Manager: npm
Name: http-file-server
Vulnerable Version: >=0 <=0.2.6
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.0014 pctl0.34667
Details
Cross-Site Scripting in http-file-server 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.
Metadata
Created: 2019-07-31T04:22:36Z
Modified: 2023-02-01T09:19:41Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/07/GHSA-7j93-2h6r-hm49/GHSA-7j93-2h6r-hm49.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-7j93-2h6r-hm49
Finding: F008
Auto approve: 1