Description
A credits.href value beginning with javascript: is assigned to the window location when the credits label is clicked, without being checked against an allowed-scheme list. An attacker who controls the chart configuration can therefore run script in the origin of the page hosting the chart.
Recommendation
Update the highcharts package to the latest compatible version. Followings are version details:
Affected version(s): **>= 13.0.0, <= 13.0.2 >= 12.0.0, < 12.6.1 < 11.4.9** Patched version(s): **13.1.0 12.6.1 11.4.9**
References
Could your website be exposed too?
SmartScanner can check your website for Highcharts: `javascript:` URL in credits.href runs script on click and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Highcharts Grid: `javascript:` URL in credits.href runs script on click - CVE-2026-118255
- Highcharts Grid: `javascript:` URL in credits.href runs script on click - @highcharts/dashboards - CVE-2026-118255
- Highcharts Core: `javascript:` URL in an `xlink:href` attribute survives text filtering and reaches exported charts - CVE-2026-116796
- i18nextify has DOM XSS via javascript:/data: URL schemes in translated href/src attributes - CVE-2026-41692


