{"id":"CVE-2018-3748","published":"2018-07-03T21:00:00Z","modified":"2024-09-17T02:27:36Z","title":"There is a Stored XSS vulnerability in the glance node module versions <= 3.0.5","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00915,"percentile":0.61022,"provenance":"source"},"cwes":[],"references":[{"url":"https://hackerone.com/reports/310133","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":12.2}]},"affected":[{"ecosystem":"npm","package":"glance","vulnerableRanges":["<3.0.8"],"patched":["3.0.8"],"from":["GHSA-7375-vjr2-3g7w"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the glance node module, versions 3.0.5 and earlier. A file name containing malicious HTML, such as an embedded iframe or a javascript: pseudo-protocol link, executes JavaScript in the browser of any user who opens a directory listing containing that crafted file name.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:47Z"},"euvd":{"id":"EUVD-2018-0442","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hackerone-glance-node-module-cve-2018-3715","parents":[{"from":"CVE-2018-3715","to":"CVE-2018-3748","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:glance","fromFixed":"3.0.4","toFixed":"3.0.8","daysApart":26},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/jarofghosts/glance/commit/8cfd88e44ebd3f07e3a2eaf376a3e758b6c4ca19","https://github.com/jarofghosts/glance/commit/cdc68bb68d785343ddb829f1adc130cdd6169533"],"basis":"shared function","functions":["Glance$serveRequest"]},{"kind":"similar","provenance":"machine","score":0.3,"basis":"same package + description similarity"}]}],"children":[{"from":"CVE-2018-3748","to":"CVE-2022-25937","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/jarofghosts/glance/commit/cdc68bb68d785343ddb829f1adc130cdd6169533","https://github.com/jarofghosts/glance/commit/8cecfe90286e0c45a5494067f1b592d0ccfeabac"],"basis":"shared function","functions":["Glance$serveRequest"]}]}],"packageHistory":[{"cve":"CVE-2018-3715","published":"2018-06-07","fixed":"3.0.4","kev":false},{"cve":"CVE-2018-3748","published":"2018-07-03","fixed":"3.0.8","kev":false},{"cve":"CVE-2022-25937","published":"2023-02-13","fixed":"3.0.9","kev":false}],"package":"npm:glance"}}