CVE-2026-116796

Highcharts Core: javascript: URL in an xlink:href attribute survives text filtering and reaches exported charts

High published · updated · also known as GHSA-MW4F-GJ5X-6XR4

7.2
CVSS score out of 10 · NVD (github.com)

Description

Highcharts JS is a JavaScript charting library based on SVG. From 10.3.2 until 11.4.9, 12.6.2, and 13.1.1, Highcharts accepts an SVG anchor xlink:href attribute without applying the allowed-scheme check used for href and src. An attacker who controls a chart text option can preserve a javascript URL in serialized chart output. When exported or server-rendered SVG is parsed again and a user activates the link, script runs in the origin of that document. This issue is fixed in 11.4.9, 12.6.2 and 13.1.1.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
highcharts npm >= 10.3.2, < 11.4.911.4.9 GitHub
highcharts npm >= 12.0.0, < 12.6.212.6.2 GitHub
highcharts npm >= 13.0.0, <= 13.1.013.1.1 GitHub

References