CVE-2026-118245 · GHSA-grj7-r4jv-pw9j
Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespace
- Risk score
- 57/100
- CVSS
- 8.6 v4.0
- Published
- 28 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 ca…
- Affected
- @highcharts/dashboards (npm) >= 1.0.0, <= 4.2.1
- Fix
- Upgrade @highcharts/dashboards to 4.2.2 or later.
- Exploitation
- No known exploitation
Story map
At a glance
@highcharts/dashboards: Yellow, plan it in. 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 ca…
The flaws
- CVE-2026-118245: Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespace (CVSS 8.6)
- CVE-2026-118255: Highcharts Grid: `javascript:` URL in credits.href runs script on click (CVSS 8.4)
- CVE-2026-118253: Highcharts Dashboards parses fullscreen labels as HTML (CVSS 8.4)
- CVE-2026-118252: Highcharts Dashboards parses sidebar component labels as HTML (CVSS 8.4)
The fix
Upgrade @highcharts/dashboards: 4.2.2 · 4.2.3 or later on your release line
Who is exposed: @highcharts/dashboards (npm) >= 1.0.0, <= 4.2.1
Where it stands
- No known exploitation
Connects to
- Same weakness: Cross-site scripting (CWE-79). 400 other warnings in 30 days
Why it is Yellow
- CVSS 8.6 high
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| @highcharts/dashboards | npm | >= 1.0.0, <= 4.2.1 | 4.2.2 |
References
- https://github.com/highcharts/highcharts/commit/98d3652cdc4f66fbccbbb8b4184ecd8f647f74de
- https://github.com/highcharts/highcharts/releases/tag/dashboards-v4.2.2
- https://github.com/highcharts/highcharts/security/advisories/GHSA-grj7-r4jv-pw9j
- https://github.com/advisories/GHSA-grj7-r4jv-pw9j
- https://nvd.nist.gov/vuln/detail/CVE-2026-118245
- https://github.com/advisories/GHSA-grj7-r4jv-pw9j
Original description
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.
Last activity 28 Oct 2026. Patch Forecast updates every hour.