npm
CVE-2026-118244
Highcharts Core: HTML text parsing falls back to unfiltered `innerHTML` during printing
- Severity
- High
- Published
- 28 Oct 2026
- Last changed
- 28 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 12.6.1, 13.1.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 29% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Also known as
- GHSA-65hg-cf3f-5m39
- Sources
- OSV.dev and GitHub
Description
When the HTML text parser cannot obtain a document from DOMParser because the call throws, it falls back to assigning the raw markup to the innerHTML of an element created in the hosting document, and the allow-list is applied only to the resulting DOM afterwards. In Chromium the Trusted Types policy callback that the parser uses throws while a beforeprint handler is running, so if the hosting page re-renders the chart from a beforeprint handler, every HTML-rendered text option parsed at that moment, such as useHTML titles, axis labels and data labels or text set by responsive rules, is inserted unsanitized, and event handlers embedded in that markup run in the origin of the page hosting the chart. Exploitation requires that untrusted data reach the chart configuration, that the hosting page update the chart from a beforeprint handler in Chromium, and that printing be started, which the print item of the exporting menu does on its own.
Affected software
| Software | Affected versions |
|---|---|
highchartsnpm · osv:npm:highcharts |
|
About highcharts
- Weekly downloads (npm)
- 3,790,953npm, 23 Nov 2026
Vulnerabilities in highcharts
- In our list
- 6
- Published in the last 12 months
- 6
- Critical, last 12 months
- 0
- High, last 12 months
- 6
- Known exploited
- 0
- CVE-2026-118251Highcharts: `javascript:` URL in credits.href runs script on clickHigh 28 Oct 2026
- CVE-2026-118250Highcharts: dotted series.keys paths write to Object.prototypeHigh 28 Oct 2026
- CVE-2026-118249Highcharts: series column construction writes to Object.prototypeHigh 28 Oct 2026
- CVE-2026-118246Highcharts Core: `breadcrumbs.style` keys become SVG event-handler attributesHigh 28 Oct 2026
- CVE-2026-116796Highcharts Core: `javascript:` URL in an `xlink:href` attribute survives text filtering and reaches exported chartsHigh 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-118244
- GitHub Advisory Database https://github.com/advisories/GHSA-65hg-cf3f-5m39