npm
CVE-2026-118245
Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespace
- Severity
- High
- Published
- 28 Oct 2026
- Last changed
- 28 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 4.2.2
- Exploit chance
- 0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Also known as
- GHSA-grj7-r4jv-pw9j
- Sources
- OSV.dev and GitHub
Description
The Highcharts component uses the value of chartConstructor to select a function from the Highcharts namespace and invokes it with the component's container element and its chartOptions, without checking the value against the supported chart constructors. An attacker who controls the dashboard configuration can therefore name any other public member of that namespace; utility functions in that namespace copy the supplied options onto the container element as properties or attributes, so markup and event handlers carried in chartOptions land in the page and run in the origin of the page hosting the dashboard. Exploitation requires that untrusted data reach the Dashboards component configuration. No user interaction is required beyond rendering the board.
Workarounds
If your board configuration comes from a source you do not fully control, paste this snippet right after importing libraries:
Affected software
| Software | Affected versions |
|---|---|
@highcharts/dashboardsnpm · osv:npm:@highcharts/dashboards |
|
About @highcharts/dashboards
- Weekly downloads (npm)
- 9,155npm, 23 Nov 2026
Vulnerabilities in @highcharts/dashboards
- In our list
- 7
- Published in the last 12 months
- 7
- Critical, last 12 months
- 0
- High, last 12 months
- 5
- Known exploited
- 0
- CVE-2026-118255Highcharts Grid: `javascript:` URL in credits.href runs script on clickHigh 28 Oct 2026
- CVE-2026-118253Highcharts Dashboards parses fullscreen labels as HTMLHigh 28 Oct 2026
- CVE-2026-118252Highcharts Dashboards parses sidebar component labels as HTMLHigh 28 Oct 2026
- CVE-2026-116797Highcharts Grid Pro: cell-renderer `attributes` map written with raw `setAttribute`High 28 Oct 2026
- CVE-2026-118247Highcharts Dashboards / Grid Pro: `DataTable.setCell` and column writers treat `__proto__` as an existing column.Medium 28 Oct 2026
- CVE-2026-118243Highcharts Dashboards: `__proto__` data table id writes sync listeners to `Object.prototype`Medium 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-118245
- GitHub Advisory Database https://github.com/advisories/GHSA-grj7-r4jv-pw9j