Highcharts Grid Pro XSS in input renderer attributes
highcharts · @highcharts grid-pro · @highcharts dashboards
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @highcharts/grid-pro npm |
|
|
| @highcharts/dashboards npm |
|
|
highcharts · @highcharts grid-pro · @highcharts dashboards
| Product | Affected | Fixed in |
|---|---|---|
| @highcharts/grid-pro npm |
|
|
| @highcharts/dashboards npm |
|
|
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.
From the CVE record · GitHub_M
Highcharts Grid Pro input renderers copy column-configured attributes onto input or select elements without filtering event handlers. An attacker who controls column configuration can run script in the hosting page’s origin when a user hovers over or focuses an input, or begins editing a cell.
Teams using npm @highcharts/grid-pro versions >=2.0.0 <3.2.0 or @highcharts/dashboards versions >=3.6.0 <4.0.0 should check their installations.