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

CVE-2026-116796: Highcharts Core: `javascript:` URL in an `xlink:href` attribute survives text filtering and reaches exported charts

October 28, 2026

The filter applied to markup in text options checks href, src and a few similar attributes against an allowed-scheme list, but accepts xlink:href without that check, so an SVG anchor whose xlink:href is a javascript: URL passes the filter, whether or not the option is rendered with useHTML. In the live page the attribute is written without the XLink namespace, so browsers do not treat the anchor as a link there.

The attribute is preserved verbatim in the chart’s serialised output: the SVG produced by the exporting module, including the default SVG download, declares the XLink namespace and contains the anchor, and so does the markup of the chart container. Any document that parses that output again, such as the downloaded SVG opened in a browser or a page that inlines exported or server-rendered chart markup, then holds a working link, and an attacker who controls the chart configuration can thereby run script in the origin of that document when a user activates the link.

Exploitation requires that untrusted data reach a text option such as the title, that the chart be exported or its markup be serialised and parsed again, and that a user activate the link.

References

  • github.com/advisories/GHSA-mw4f-gj5x-6xr4
  • github.com/highcharts/highcharts/commit/6cf359fb144aa51fdc105e2b9bbd013439b02c88
  • github.com/highcharts/highcharts/releases/tag/v13.1.1
  • github.com/highcharts/highcharts/security/advisories/GHSA-mw4f-gj5x-6xr4
  • nvd.nist.gov/vuln/detail/CVE-2026-116796

Code Behaviors & Features

Detect and mitigate CVE-2026-116796 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 10.3.2 before 11.4.9, all versions starting from 12.0.0 before 12.6.2, all versions starting from 13.0.0 before 13.1.1

Fixed versions

  • 11.4.9
  • 12.6.2
  • 13.1.1

Solution

Upgrade to versions 11.4.9, 12.6.2, 13.1.1 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-116796.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:35 +0000.