Skip to content

Cross-Site Scripting in min-http-server

Moderate severity GitHub Reviewed Published Jul 31, 2019 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

npm min-http-server (npm)

Affected versions

<= 1.0.6

Patched versions

None

Description

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.

References

Published by the National Vulnerability Database Jul 30, 2019
Reviewed Jul 31, 2019
Published to the GitHub Advisory Database Jul 31, 2019
Last updated Jan 27, 2023

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2019-5457

GHSA ID

GHSA-j657-59rv-qwm6

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.