Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdqOTMtMmg2ci1obTQ5
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.
Permalink: https://github.com/advisories/GHSA-7j93-2h6r-hm49JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdqOTMtMmg2ci1obTQ5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 4 years ago
Updated: about 1 year ago
CVSS Score: 5.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-7j93-2h6r-hm49, CVE-2019-5458
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-5458
- https://hackerone.com/reports/570563
- https://www.npmjs.com/advisories/1110
- https://github.com/advisories/GHSA-7j93-2h6r-hm49
Affected Packages
npm:http-file-server
Dependent packages: 1Dependent repositories: 2
Downloads: 23 last month
Affected Version Ranges: <= 0.2.6
No known fixed version
All affected versions: 0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6