6.1med
CVE-2018-3748
Cross-Site Scripting in glance
Also known as GHSA-7375-vjr2-3g7w
Published 8 y ago · modified 4 mo ago · JSON
CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.9%
percentile 61%
Public exploits
0
none known
Summary
There is a Stored XSS vulnerability in the glance node module versions <= 3.0.5. File name, which contains malicious HTML (eg. embedded iframe element or javascript: pseudo-protocol handler in <a> element) allows to execute JavaScript code against any user who opens a directory listing containing such crafted file name.
Exploit prediction (EPSS)
0.93% probability of exploitation in the next 30 days, higher than 61% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | glance | <3.0.8 | 3.0.8 |
Classification
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- hackerone.com /reports/310133 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2018-3748 · advisory
- github.com /jarofghosts/glance/commit/cdc68bb68d785343ddb829f1adc130cdd6169533 · web
- github.com /advisories/GHSA-7375-vjr2-3g7w · advisory
- github.com /jarofghosts/glance · package
- npmjs.com /advisories/610 · web
Sources
- CVE List: CVE-2018-3748
- GitHub Advisory: GHSA-7375-vjr2-3g7w
- NVD: CVE-2018-3748
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.