CVE-2019-15600: Cross-Site Scripting in http_server
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.80364%
CWE
Published
3/31/2020
Updated
9/11/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
http_server | npm | <= 1.0.12 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsanitized filename
handling in two key areas: 1) When serving files directly, filenames
containing XSS payloads would be reflected in Content-Disposition headers or error messages. 2) When generating directory listings, filenames
are embedded in HTML without proper escaping. These patterns match common static server implementations, and the vulnerability description explicitly mentions filename
sanitization failures as the root cause. While exact code isn't available, these functions
represent standard points of vulnerability for XSS in file-serving applications.