Highcharts Core: `breadcrumbs.style` keys become SVG event-handler attributes
The breadcrumbs style option is applied to the breadcrumb button as SVG attributes rather than as CSS, and the attribute names are not filtered. An attacker who controls the chart configuration can supply keys under breadcrumbs.style that name event handlers, causing those keys to become live handlers on the breadcrumb button. Consequently, the attacker's script runs in the origin of the page hosting the chart.
The option is reached through drilldown.breadcrumbs, navigation.breadcrumbs, and the breadcrumbs option of the treemap, sunburst, and treegraph series.
Exploitation prerequisites:
- Untrusted data must reach the chart configuration.
- A user must drill down or traverse into a level of a hierarchical series so that the breadcrumbs render.
- The user must then hover over or activate the breadcrumb button.
Charts rendered in styled mode do not apply the option and are not affected. Charts built with Highcharts Stock, Maps, and Gantt are included, as they ship from the same package as Core.
What to do
Workarounds
Verified against published bundles on 10.0.0, 11.4.8, 12.3.0, and 13.0.2.
Load immediately after Highcharts, before any chart is created:
// Workaround fix for all affected Highcharts versions: 10.0.0-13.0.2
((H)=>{const S=H.SVGElement.prototype,D=S._defaultSetter;S._defaultSetter=function _defaultSetter(v,k,e){/^on/i.test(k)||D.call(this,v,k,e)};})(Highcharts);
// End of the workaround fix
Obtaining the Patched Version
Patched releases are available from all standard distribution channels. Upgrade affected packages to version 11.4.9, 12.6.1, 13.1.0, or higher.
- Using npm, upgrade the affected package to a patched version, for example:
npm install highcharts@13.1.0. - If loading Highcharts from CDN, use the versioned URLs on code.highcharts.com, for example:
https://code.highcharts.com/13.1.0/highcharts.js. - For more details on each installation method, see the installation guide.).
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | highcharts | >= 10.0.0, < 11.4.9, >= 12.0.0, < 12.6.1, >= 13.0.0, < 13.1.0 | 11.4.9, 12.6.1, 13.1.0 |
References
- https://github.com/highcharts/highcharts/security/advisories/GHSA-35rr-xwfh-x789
- https://nvd.nist.gov/vuln/detail/CVE-2026-118246
- https://github.com/highcharts/highcharts/commit/b0fafdaaee7d0cac2ecfeb0eaf37b11cd40594ef
- https://github.com/highcharts/highcharts
- https://github.com/highcharts/highcharts/releases/tag/v13.1.0
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
highcharts- Disclosed
- 28.10.2026
- Updated
- 04.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
OSV / GitHub Advisory Database - GHSA-35rr-xwfh-x789 - CC BY 4.0
Vulnerability history: highcharts
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 7
- First → latest
- 03.2019 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 7
Disclosures per year
- 2019: 1
- 2020: 1
- 2021: 1
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 4
-
Highcharts Core: `breadcrumbs.style` keys become SVG event-handler attributes this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.