CVE-2018-3747: Cross-Site Scripting in public
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.50092%
CWE
Published
10/10/2018
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
public | npm | < 0.1.4 | 0.1.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsanitized filename
rendering in HTML outputs. While no direct patch code is available, static file servers typically have: 1) A directory listing generator that creates file links (createFileList
), and 2) A core HTML response builder (generateHTML
). These would be the most probable locations where filenames
are embedded without escaping in pre-0.1.4 versions. Confidence is medium due to inference from vulnerability patterns in static file servers, though exact function
names might vary.