Vulnerability library
Security checkOctober 28, 2026

Highcharts Core: HTML text parsing falls back to unfiltered `innerHTML` during printing

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

When the HTML text parser cannot obtain a document from DOMParser because the call throws, it falls back to assigning the raw markup to the innerHTML of an element created in the hosting document, and the allow-list is applied only to the resulting DOM afterwards.

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**
  • Patched version(s): **13.1.0 12.6.1**

References

Could your website be exposed too?

SmartScanner can check your website for Highcharts Core: HTML text parsing falls back to unfiltered `innerHTML` during printing and gives you actionable findings to investigate.

Start a free scan

Related Issues

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