Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. highcharts
  4. ›
  5. CVE-2026-118244

CVE-2026-118244: Highcharts Core: HTML text parsing falls back to unfiltered `innerHTML` during printing

October 28, 2026

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. Charts built with Highcharts Stock, Maps and Gantt are included, since those ship from the same package as Core.

References

  • github.com/advisories/GHSA-65hg-cf3f-5m39
  • github.com/highcharts/highcharts/commit/abde7c576793bf50b0e0636e59b49630de6dd0d5
  • github.com/highcharts/highcharts/releases/tag/v13.1.0
  • github.com/highcharts/highcharts/security/advisories/GHSA-65hg-cf3f-5m39
  • nvd.nist.gov/vuln/detail/CVE-2026-118244

Code Behaviors & Features

Detect and mitigate CVE-2026-118244 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 12.0.0 before 12.6.1, all versions starting from 13.0.0 before 13.1.0

Fixed versions

  • 12.6.1
  • 13.1.0

Solution

Upgrade to versions 12.6.1, 13.1.0 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/highcharts/CVE-2026-118244.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:06 +0000.