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
Related Issues
- Options structure open to Cross-site Scripting if passed unfiltered - CVE-2021-29489
- Bootstrap Cross-Site Scripting (XSS) vulnerability - CVE-2024-6531
- @dependencytrack/frontend vulnerable to Persistent Cross-Site-Scripting via Vulnerability Details - CVE-2022-39350
- CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package - CVE-2025-58064
- Tags:
- npm
- highcharts
Anything's wrong? Let us know Last updated on November 10, 2023