Technical impact
Highcharts JavaScript charting library contains a flaw where, when DOMParser cannot parse input the library falls back to assigning raw markup to a DOM element’s innerHTML before applying its allow‑list. During the browser beforeprint phase a Trusted Types callback can throw, causing a chart that is re‑drawn to inject untrusted HTML. The injected markup, which can contain event handlers, is then rendered by the browser. This allows an attacker who controls chart data or options to execute arbitrary JavaScript in the context of the hosting page, compromising confidentiality, integrity and potentially allowing further attacks such as credential theft or defacement. The weakness is a classic XSS flaw classified as CWE‑79.
Affected Systems
The vulnerability affects Highcharts, a popular JavaScript charting library, in the versions shipped between 12.0.0 and before 12.6.1 and any releases prior to 13.1.0. All product variants that use HTML‑rendered elements such as titles, labels, data labels, responsive text, and the Stock, Maps and Gantt packages are impacted. Users who rely on earlier releases—specifically any version older than 12.6.1 or 13.1.0—must be aware that these components could be exploited when a print preview or print command is triggered.
Risk and Exploitability
The CVSS v3 score of 7.2 indicates a high impact severity. The EPSS score is not available, so no quantitative likelihood from that metric can be provided. The vulnerability is not listed in the CISA KEV catalog, implying it is not currently known to be exploited in the wild. The attack vector requires that the victim’s browser processes the vulnerable Highcharts code and that a print operation is initiated. An attacker would need to supply malicious chart data in a page that the user views, making exploitation primarily a local or socially engineered scenario. However, because the flaw results in arbitrary code execution in the page’s origin, it is suitable for phishing or supply‑chain attacks and can lead to significant compromise if used by a malicious site.
Github GHSA