CVE-2018-3748 json
Cross-Site Scripting in glance
published 2018-07-03 8 y ago modified 2026-06-17 4 mo ago also GHSA-7375-vjr2-3g7w , EUVD-2018-0442
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- 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.
Patch / fix
Exploit prediction
0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/310133 referenced PoC, tagged "exploit" by a source, unverified
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
-
github.com
/jarofghosts/glance/commit/cdc68bb68d785343ddb829f1adc130cdd6169533
web
-
hackerone.com
/reports/310133
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-3748
advisory
-
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
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.