{"id":"GHSA-gr4j-r575-g665","aliases":["GHSA-gr4j-r575-g665"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in highcharts","summary":"Versions of `highcharts` prior to 7.2.2 or 8.1.1 are vulnerable to Cross-Site Scripting (XSS).  The package fails to sanitize `href` values and does not restrict URL schemes, allowing attackers to execute arbitrary JavaScript in a victim's browser if they click the link.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `highcharts` prior to 7.2.2 or 8.1.1 are vulnerable to Cross-Site Scripting (XSS).  The package fails to sanitize `href` values and does not restrict URL schemes, allowing attackers to execute arbitrary JavaScript in a victim's browser if they click the link.","format":"markdown","source":"ghsa"}],"published":"2020-08-25T14:04:47.000Z","modified":"2023-11-10T18:07:18.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.2.2"}],"ecosystem":"npm","package":"highcharts","purl":"pkg:npm/highcharts","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.1.1"}],"ecosystem":"npm","package":"highcharts","purl":"pkg:npm/highcharts","source":"ghsa"}],"references":[{"url":"https://github.com/highcharts/highcharts/issues/13559","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/highcharts/highcharts/commit/55c39dd55f12ce8dfab84f8ec13ad81423bee9f5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/highcharts/highcharts","tags":["package"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-HIGHCHARTS-571995","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gr4j-r575-g665","url":"https://github.com/advisories/GHSA-gr4j-r575-g665","licence":"CC-BY-4.0","modified":"2023-11-10T18:07:18.000Z"}],"updatedAt":"2026-11-25T22:56:45.487Z"}