Highcharts Dashboards parses sidebar component labels as HTML
CVE-2026-118252
Impact 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. js { const EditMode = window.Dashboards?.EditMode; const escapeHTML = (text) => text .replace(/&/g, '&') .replace(/ /g, '>'); const patched = new WeakSet(); const originalInit = EditMode.prototype.init; EditMode.prototype.init = function (...args) { const labels = this.lang?.sidebar; if (labels && !patched.has(this)) {…
Assessment
- CVSS
- 8.4 (v4.0)
- Severity
- High
- EPSS
- 0.00419% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 28 October 2026
- Last updated
- 28 October 2026
- Affected
- npm · @highcharts/dashboards
- Weakness
- CWE-79
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
At the source
References
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-118252