Skip to content
OpenAdvisories
High · 7.6 CVE-2021-29489 EUVD-2021-1014GHSA-8j65-4pcq-xq95

Options structure open to XSS if passed unfiltered

Published May 5, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

Description

Highcharts JS is a JavaScript charting library based on SVG. In Highcharts versions 8 and earlier, the chart options structure was not systematically filtered for XSS vectors. The potential impact was that content from untrusted sources could execute code in the end user's browser. The vulnerability is patched in version 9. As a workaround, implementers who are not able to upgrade may apply DOMPurify recursively to the options structure to filter out malicious markup.

Affected products

VendorProductAffectedFixed
highcharts highcharts < 9.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm highcharts < 9.0.0 9.0.0 GHSA-8j65-4pcq-xq95

Advisories 2

References