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.
// cvss v3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Checked 2026-10-04 at 01:08 UTC. The most recent advisory here was published 2019-07-31. Updated continuously from NVD, GHSA, OSV and CNA feeds.