Highcharts
Highcharts Grid Pro: cell-renderer `attributes` map written with raw `setAttribute`
Highcharts JS is a JavaScript charting library based on SVG. From 2.0.0 until 3.2.0, Highcharts Grid Pro input renderers copy the cells.renderer.attributes and cells.editMode.renderer.attributes maps to input or select elements with raw setAttribute calls. An attacker who controls column configuration can add event-handler attributes to every rendered row or to the control created when a cell enters edit mode. Script then runs in the hosting page origin when a user hovers over or focuses an input or begins editing. This issue is fixed in Grid Pro 3.2.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0, < 3.2.0
Fixed in 3.2.0
- >= 2.0.0, < 3.2.0
Fixed in 3.2.0
- >= 3.6.0, < 4.0.0
Fixed in 4.0.0
Mitigation
Upgrade highcharts to 3.2.0 or later.
Upgrade grid-pro to 3.2.0 or later.
Upgrade dashboards to 4.0.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.