All vulnerabilities

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.

From the GitHub Advisory Database, CC BY 4.0.

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.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
@highcharts/dashboardsnpm · osv:npm:@highcharts/dashboards
  • From 1.0.0 before 4.2.3

About @highcharts/dashboards

Weekly downloads (npm)
9,155npm, 23 Nov 2026

References