{"id":"CVE-2018-3748","aliases":["EUVD-2018-0442","GHSA-7375-vjr2-3g7w"],"status":"published","title":"Cross-Site Scripting in glance","description":"There is a Stored XSS vulnerability in the glance node module versions \u003c= 3.0.5. File name, which contains malicious HTML (eg. embedded iframe element or javascript: pseudo-protocol handler in \u003ca\u003e element) allows to execute JavaScript code against any user who opens a directory listing containing such crafted file name.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.0093,"percentile":0.60811,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2018-07-03T21:00:00Z","modified":"2026-10-24T10:30:23Z","fixes":[{"ecosystem":"npm","package":"glance","fixed_in":["3.0.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"glance","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.8"}]}]},{"source":"osv","ecosystem":"npm","package":"glance","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.8"}]}]}],"products":[{"vendor":"glance_project","product":"glance"}],"references":[{"url":"https://hackerone.com/reports/310133","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3748","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7375-vjr2-3g7w","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/610","tags":["web"]},{"url":"https://github.com/jarofghosts/glance/commit/cdc68bb68d785343ddb829f1adc130cdd6169533","tags":["web"]},{"url":"https://github.com/jarofghosts/glance","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-3748","description":"There is a Stored XSS vulnerability in the glance node module versions \u003c= 3.0.5. File name, which contains malicious HTML (eg. embedded iframe element or javascript: pseudo-protocol handler in \u003ca\u003e element) allows to execute JavaScript code against any user who opens a directory listing containing such crafted file name.","status":"published","published":"2018-07-03T21:00:00Z","modified":"2024-09-17T02:27:36.14Z","updated_at":"2026-11-02T14:35:05.262903Z"}],"euvd":[{"id":"EUVD-2018-0442","description":"There is a Stored XSS vulnerability in the glance node module versions \u003c= 3.0.5. File name, which contains malicious HTML (eg. embedded iframe element or javascript: pseudo-protocol handler in \u003ca\u003e element) allows to execute JavaScript code against any user who opens a directory listing containing such crafted file name.","status":"published","published":"2018-07-03T21:00:00Z","modified":"2024-09-17T02:27:36Z","updated_at":"2026-11-03T00:28:39.983112Z"}],"ghsa":[{"id":"GHSA-7375-vjr2-3g7w","title":"Cross-Site Scripting in glance","description":"Versions of `glance` before 3.0.8 are vulnerable to Stored Cross-Site Scripting (XSS). This is only exploitable if the attacker is able to control the name of a file that is served by the `glance` package.","status":"published","published":"2018-09-27T11:37:19Z","modified":"2023-01-09T05:02:44Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:03.768255Z"}],"nvd":[{"id":"CVE-2018-3748","description":"There is a Stored XSS vulnerability in the glance node module versions \u003c= 3.0.5. File name, which contains malicious HTML (eg. embedded iframe element or javascript: pseudo-protocol handler in \u003ca\u003e element) allows to execute JavaScript code against any user who opens a directory listing containing such crafted file name.","status":"published","published":"2018-07-03T21:29:00.467Z","modified":"2026-06-17T01:57:45.903Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:30.900603Z"}],"osv":[{"id":"CVE-2018-3748","description":"There is a Stored XSS vulnerability in the glance node module versions \u003c= 3.0.5. File name, which contains malicious HTML (eg. embedded iframe element or javascript: pseudo-protocol handler in \u003ca\u003e element) allows to execute JavaScript code against any user who opens a directory listing containing such crafted file name.","status":"published","published":"2018-07-03T21:29:00.467Z","modified":"2026-10-24T10:30:23.692001471Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"GHSA-7375-vjr2-3g7w","title":"Cross-Site Scripting in glance","description":"Versions of `glance` before 3.0.8 are vulnerable to Stored Cross-Site Scripting (XSS). This is only exploitable if the attacker is able to control the name of a file that is served by the `glance` package.","status":"published","published":"2018-09-27T11:37:19Z","modified":"2023-11-08T04:00:18.718758Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:40.308826Z"}]}}
