Vulnerability library
Security checkNovember 10, 2023

Cross-Site Scripting in highcharts

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

Versions of highcharts prior to 7.2.2 or 8.1.1 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize href values and does not restrict URL schemes, allowing attackers to execute arbitrary JavaScript in a victim’s browser if they click the link.

Recommendation

Update the highcharts package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 8.0.0, < 8.1.1 < 7.2.2**
  • Patched version(s): **8.1.1 7.2.2**

References

Could your website be exposed too?

SmartScanner can check your website for Cross-Site Scripting in highcharts and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 10, 2023