CVE-2026-118244
CVE-2026-118244 · Highcharts Core: AST `DOMParser` fallback assigns unsanitized markup to `innerHTML` during print
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.2 · High · EPSS 0.3% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
highcharts
- Versions
- >= 12.0.0, < 12.6.1: Affected
- >= 13.0.0, < 13.1.0: Affected
No fix published
highcharts npm
- Affected ranges
- SEMVER: ≥ 12.0.0, < 12.6.1
Update to 12.6.1
highcharts npm
- Affected ranges
- SEMVER: ≥ 13.0.0, < 13.1.0
Update to 13.1.0