CVE-2016-15025: generator-hottowel Cross-site Scripting vulnerability
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.22576%
CWE
Published
2/20/2023
Updated
3/2/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
generator-hottowel | npm | < 0.5.0 | 0.5.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing middleware handlers for asset paths (/js/, /images/, /styles/*) in app/templates/src/server/_app.js. In the vulnerable version, requests to these paths fell through to Express.js' default 404 handler, which reflected unsanitized user input in error responses. The application's own four0four.send404 handler (which mitigates XSS) was not invoked for these routes. While the root cause is the absence of specific middleware functions, no existing functions in the application code were directly vulnerable with high confidence - the vulnerability manifested due to the lack of proper routing configuration rather than flawed code in existing functions.