CVE-2026-118251
CVE-2026-118251 · Highcharts: javascript: URL in credits.href runs script on click
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Highcharts JS is a JavaScript charting library based on SVG. Prior to 11.4.9, 12.6.1, and 13.1.0, Highcharts assigns credits.href to the window location when the credits label is clicked without checking the URL against the allowed-scheme list. An attacker who controls chart configuration can provide a javascript URL and run script in the origin of the hosting page when a user clicks the credits label. Highcharts Stock, Maps, and Gantt are included because they ship from the same package. This issue is fixed in 11.4.9, 12.6.1 and 13.1.0.
CVSS 8.4 · High · EPSS 0.4% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
highcharts
- Versions
- < 11.4.9: Affected
- >= 12.0.0, < 12.6.1: Affected
- >= 13.0.0, < 13.1.1: Affected
No fix published
highcharts npm
- Affected ranges
- SEMVER: < 11.4.9
Update to 11.4.9
highcharts npm
- Affected ranges
- SEMVER: ≥ 12.0.0, < 12.6.1
Update to 12.6.1
highcharts npm
- Affected ranges
- SEMVER: ≥ 13.0.0, < 13.1.0
Update to 13.1.0
Original sources
- https://github.com/highcharts/highcharts/security/advisories/GHSA-5793-x2q3-c3q7
- https://github.com/highcharts/highcharts/pull/25315
- https://github.com/highcharts/highcharts/commit/9534773d0f41400aac0945bf8aaebc38dfc72aff
- https://github.com/highcharts/highcharts/releases/tag/v13.1.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-118251