Vulnerability library
Security checkOctober 28, 2026

Highcharts: `javascript:` URL in credits.href runs script on click

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmhighcharts

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated October 28, 2026