{"id":"CVE-2018-16459","aliases":["EUVD-2018-0433","GHSA-2j2j-8rrv-264g"],"status":"published","title":"Cross-Site Scripting in exceljs","description":"An unescaped payload in exceljs \u003cv1.6 allows a possible XSS via cell value when worksheet is displayed in browser.","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-09","score":0.00759,"percentile":0.55545,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2018-09-06T13:00:00Z","modified":"2026-06-17T01:44:19Z","fixes":[{"ecosystem":"npm","package":"exceljs","fixed_in":["1.6.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"exceljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}]},{"source":"osv","ecosystem":"npm","package":"exceljs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}]}],"products":[{"vendor":"exceljs_project","product":"exceljs"},{"vendor":"https://github.com/guyonroche","product":"exceljs"}],"references":[{"url":"https://hackerone.com/reports/356809","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16459","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2j2j-8rrv-264g","tags":["advisory"]},{"url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/464.json","tags":["web"]},{"url":"https://www.npmjs.com/advisories/733","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-16459","description":"An unescaped payload in exceljs \u003cv1.6 allows a possible XSS via cell value when worksheet is displayed in browser.","status":"published","published":"2018-09-06T13:00:00Z","modified":"2024-09-17T02:32:59.544Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:11.426178Z"}],"euvd":[{"id":"EUVD-2018-0433","description":"An unescaped payload in exceljs \u003cv1.6 allows a possible XSS via cell value when worksheet is displayed in browser.","status":"published","published":"2018-09-06T13:00:00Z","modified":"2024-09-17T02:32:59Z","updated_at":"2026-11-03T00:28:39.580336Z"}],"ghsa":[{"id":"GHSA-2j2j-8rrv-264g","title":"Cross-Site Scripting in exceljs","description":"Versions of `exceljs` before 1.6.0 are vulnerable to cross-site scripting. \n\nThis vulnerability is due to `exceljs` not validating data from parsed XLSX file and embedding HTML tags, like `\u003cscript\u003e` directly into the sheet cells. Because of this it's possible to inject malicious JavaScript code and execute it when data from the sheet is displayed in the browser.\n\n\n\n\n## Recommendation\n\nUpdate to version 1.6.0 or later.","status":"published","published":"2018-09-11T18:58:40Z","modified":"2023-09-13T18:50:55Z","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:37:05.004935Z"}],"nvd":[{"id":"CVE-2018-16459","description":"An unescaped payload in exceljs \u003cv1.6 allows a possible XSS via cell value when worksheet is displayed in browser.","status":"published","published":"2018-09-06T13:29:00.24Z","modified":"2026-06-17T01:44:19.693Z","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:38.672108Z"}],"osv":[{"id":"GHSA-2j2j-8rrv-264g","title":"Cross-Site Scripting in exceljs","description":"Versions of `exceljs` before 1.6.0 are vulnerable to cross-site scripting. \n\nThis vulnerability is due to `exceljs` not validating data from parsed XLSX file and embedding HTML tags, like `\u003cscript\u003e` directly into the sheet cells. Because of this it's possible to inject malicious JavaScript code and execute it when data from the sheet is displayed in the browser.\n\n\n\n\n## Recommendation\n\nUpdate to version 1.6.0 or later.","status":"published","published":"2018-09-11T18:58:40Z","modified":"2023-11-08T03:59:59.39347Z","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:34.338541Z"}]}}
