Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M
CVE-2026-118251Highcharts: javascript: URL in credits.href runs script on click
High 8.4
In plain English
A high-severity cross-site scripting in highcharts from highcharts. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | highcharts | 11.4.9 | GHSA-5793-x2q3-c3q7 |
| npm | highcharts | 12.6.1 | GHSA-5793-x2q3-c3q7 |
| npm | highcharts | 13.1.0 | GHSA-5793-x2q3-c3q7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| highcharts | highcharts | < 11.4.9>= 12.0.0, < 12.6.1>= 13.0.0, < 13.1.1 |
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
References
- https://github.com/highcharts/highcharts/security/advisories/GHSA-5793-x2q3-c3q7 x_refsource_CONFIRM
- https://github.com/highcharts/highcharts/pull/25315 x_refsource_MISC
- https://github.com/highcharts/highcharts/commit/9534773d0f41400aac0945bf8aaebc38dfc72aff x_refsource_MISC
- https://github.com/highcharts/highcharts/releases/tag/v13.1.0 x_refsource_MISC