high8.5
CVE-2026-118242
Highcharts Grid: custom icon definition objects written with raw `setAttribute` on `<path>`
Impact
Highcharts JS is a JavaScript charting library based on SVG. From 2.3.0 until 3.2.0, Highcharts Grid creates SVG path elements from rendering.icons object definitions and previously copied every child key with setAttribute. An attacker who controls Grid configuration can supply event-handler attribute names in an icon definition. Because custom icons override built-ins, the attacker can replace default sort or pagination icons, and script runs in the hosting page origin when a user hovers over or activates the affected icon. This issue is fixed in 3.2.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @highcharts/grid-lite | >= 2.3.0, <= 3.1.0 | 3.2.0 |
| npm | @highcharts/grid-pro | >= 2.3.0, <= 3.1.0 | 3.2.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Highcharts | Highcharts | before 13.1.0 |
| @Highcharts | Grid-Pro | from 2.3.0, before 3.2.0 |
| @Highcharts | Grid-Lite | from 2.3.0, before 3.2.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-6g3c-p4fg-xv47
- https://github.com/highcharts/highcharts/security/advisories/GHSA-6g3c-p4fg-xv47
- https://nvd.nist.gov/vuln/detail/CVE-2026-118242
- https://github.com/highcharts/highcharts/commit/8fc970658fee6601625b42da29d27c3ef7c45e30