CVE-2026-118244 Highcharts Core: AST `DOMParser` fallback assigns unsanitized markup to `innerHTML` during print
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-118244?
CVE-2026-118244 is a high-severity vulnerability in highcharts, published on 28 Oct 2026.
Official description
Highcharts JS is a JavaScript charting library based on SVG. From 12.0.0 until 12.6.1 and 13.1.0, Highcharts falls back to assigning raw markup to innerHTML when DOMParser cannot return a document, before its allow-list is applied. In Chromium, the Trusted Types callback can throw while a beforeprint handler runs, so a page that redraws a chart during beforeprint can insert untrusted HTML text options into the hosting document. Event handlers in that markup then run in the page origin when printing begins. The issue affects HTML-rendered titles, labels, data labels, responsive text, and the Stock, Maps, and Gantt products shipped in the same package. This issue is fixed in 12.6.1 and 13.1.0.
Weakness: CWE-79
Which versions are affected by CVE-2026-118244?
4 open source packages ship an affected version, including highcharts.
| Package | Affected | Fixed in |
|---|---|---|
highcharts npm | From 12.0.0 | 12.6.1 |
highcharts npm | From 12.0.0 | 12.6.1 |
highcharts npm | From 13.0.0 | 13.1.0 |
highcharts npm | From 13.0.0 | 13.1.0 |
How do I fix CVE-2026-118244?
Upgrade highcharts to a fixed version for your release line: 12.6.1 or 13.1.0.
Is CVE-2026-118244 being exploited?
There is no known exploitation of CVE-2026-118244 in the wild and no public exploit code.
Sources
Also known as GHSA-65hg-cf3f-5m39.