{"id":"GHSA-2j2j-8rrv-264g","summary":"Cross-Site Scripting in exceljs","details":"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.","aliases":["CVE-2018-16459"],"modified":"2023-11-08T03:59:59.393470Z","published":"2018-09-11T18:58:40Z","database_specific":{"github_reviewed_at":"2020-06-16T20:52:14Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16459"},{"type":"WEB","url":"https://hackerone.com/reports/356809"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2j2j-8rrv-264g"},{"type":"WEB","url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/464.json"},{"type":"WEB","url":"https://www.npmjs.com/advisories/733"}],"affected":[{"package":{"name":"exceljs","ecosystem":"npm","purl":"pkg:npm/exceljs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/09/GHSA-2j2j-8rrv-264g/GHSA-2j2j-8rrv-264g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}