npm
CVE-2026-118252
Highcharts Dashboards parses sidebar component labels as HTML
- Severity
- High
- Published
- 28 Oct 2026
- Last changed
- 28 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 4.2.3
- Exploit chance
- 0.4% in the next 30 daysHigher than 36% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Also known as
- GHSA-rcqf-f6h2-ccg9
- Sources
- OSV.dev and GitHub
Description
The component language strings shown in the edit mode sidebar are parsed as HTML rather than inserted as text. An attacker who controls those language options can supply markup carrying event handlers, which execute in the origin of the page hosting the dashboard once the sidebar renders the affected labels. Exploitation requires that untrusted data reach the Dashboards language configuration and that a user open the edit mode sidebar.
Workarounds
Until you can upgrade, patch EditMode once at application startup. The hook runs before the sidebar is built, so the labels are already harmless by the time they are rendered. Assigning a string to textContent and reading back innerHTML turns any markup into literal text, which is exactly what the fixed version renders.
After importing the module, use this code snipped once, before any board is created.
If your application does not need Edit Mode, leaving it disabled (editMode.enabled: false) removes the exposure as well.
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-116797Highcharts Grid Pro: cell-renderer `attributes` map written with raw `setAttribute`High 28 Oct 2026
- CVE-2026-118245Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespaceHigh 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-118252
- GitHub Advisory Database https://github.com/advisories/GHSA-rcqf-f6h2-ccg9