Miggo Logo

CVE-2019-15600: Cross-Site Scripting in http_server

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.80364%
Published
3/31/2020
Updated
9/11/2023
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
http_servernpm<= 1.0.12

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*ll v*rsions o* `*ttp_s*rv*r` *r* vuln*r**l* to *ross-Sit* S*riptin* (XSS). T** p**k*** **ils to s*nitiz* *il*n*m*s, *llowin* *tt**k*rs to *x**ut* *r*itr*ry J*v*S*ript in t** vi*tim's *rows*r t*rou** *il*s wit* n*m*s *ont*inin* m*li*ious *o**. ## R

Reasoning

T** vuln*r**ility st*ms *rom uns*nitiz** `*il*n*m*` **n*lin* in two k*y *r**s: *) W**n s*rvin* *il*s *ir**tly, `*il*n*m*s` *ont*inin* XSS p*ylo**s woul* ** r**l**t** in *ont*nt-*isposition *****rs or *rror m*ss***s. *) W**n **n*r*tin* *ir**tory listi