Vulnerability library
Security checkJanuary 29, 2023

Options structure open to Cross-site Scripting if passed unfiltered

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

In Highcharts versions 8 and earlier, the chart options structure was not systematically filtered for XSS vectors. The potential impact was that content from untrusted sources could execute code in the end user’s browser. Especially when using the useHTML flag, HTML string options would be inserted unfiltered directly into the DOM.

Recommendation

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

  • Affected version(s): < 9.0.0
  • Patched version(s): 9.0.0

References

Could your website be exposed too?

SmartScanner can check your website for Options structure open to Cross-site Scripting if passed unfiltered and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 29, 2023