Highcharts
Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespace
Highcharts JS is a JavaScript charting library based on SVG. From 1.0.0 until 4.2.2, Highcharts Dashboards uses chartConstructor as an unchecked property lookup in the Highcharts namespace and invokes the selected member with the component container and chartOptions. An attacker who controls dashboard configuration can select a public utility function instead of a supported chart constructor, causing attacker-controlled options to be copied to the container as properties or attributes. Markup and event handlers can then execute in the hosting page origin when the board renders. No user interaction beyond rendering the board is required. This issue is fixed in 4.2.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 13.1.0
Fixed in 13.1.0
- >= 1.0.0, < 4.2.3
Fixed in 4.2.3
Mitigation
Upgrade highcharts to 13.1.0 or later.
Upgrade dashboards to 4.2.3 or later.
References
- Vendor advisory github.com/highcharts/highcharts/security/advi…
- Patch github.com/highcharts/highcharts/commit/98d365…
- Release notes github.com/highcharts/highcharts/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.