CVE-2026-118251 Highcharts: javascript: URL in credits.href runs script on click
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-118251?
CVE-2026-118251 is a high-severity vulnerability in highcharts, published on 28 Oct 2026.
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-118251?
6 open source packages ship an affected version, including highcharts.
| Package | Affected | Fixed in |
|---|---|---|
highcharts npm | All versions | 11.4.9 |
highcharts npm | All versions | 11.4.9 |
highcharts npm | From 12.0.0 | 12.6.1 |
highcharts npm | From 12.0.0 | 12.6.1 |
highcharts npm | From 13.0.0 | 13.1.0 |
highcharts npm | From 13.0.0 | 13.1.0 |
How do I fix CVE-2026-118251?
Upgrade highcharts to a fixed version for your release line: 11.4.9, 12.6.1 or 13.1.0.
Is CVE-2026-118251 being exploited?
There is no known exploitation of CVE-2026-118251 in the wild and no public exploit code.
Sources
Also known as GHSA-5793-x2q3-c3q7.