Highcharts
Highcharts Grid: custom icon definition objects written with raw `setAttribute` on `<path>`
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 13.1.0
Fixed in 13.1.0
- >= 2.3.0, < 3.2.0
Fixed in 3.2.0
- >= 2.3.0, < 3.2.0
Fixed in 3.2.0
Mitigation
Upgrade highcharts to 13.1.0 or later.
Upgrade grid-lite to 3.2.0 or later.
Upgrade grid-pro to 3.2.0 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.