CVE-2026-118245

Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespace

Published Oct 28, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability occurs in Highcharts Dashboards versions 1.0.0 through 4.2.2, allowing an attacker-controlled dashboard configuration to specify any property name resolved on the Highcharts namespace. The unchecked lookup executes an arbitrary public utility function with the specified component container and chart options. The function can copy attacker‑controlled options to the container as DOM attributes or inject inline markup and event handlers that are executed in the host page’s origin when the dashboard renders. The result is a cross‑site scripting condition that can run arbitrary JavaScript on the page without requiring user interaction beyond rendering, allowing attackers to hijack sessions, steal data, or deface content.

Affected Systems

The flaw affects the Highcharts Dashboards component and the core Highcharts library, specifically the namespace lookup mechanism available from version 1.0.0 up to 4.2.2. End‑users running any web application that includes @highcharts/dashboards or highcharts/highcharts before the 4.2.2 release are exposed. The issue was introduced with the chartConstructor module and was patched in dashboards‑v4.2.2, which removes the unchecked lookup and validates constructor names.

Risk and Exploitability

The CVSS score of 8.6 indicates a high‑severity vulnerability that can be exploited remotely. Because the attacker only needs to supply a malicious dashboard configuration, an attacker who can influence the dashboard data can trigger the flaw during normal rendering. The EPSS score is unavailable, but the lack of listed status in the CISA KEV catalog does not diminish the potential impact. The vulnerability is exploitable by injecting crafted configurations into any component that renders dashboards on a page, and does not require additional privileges or interaction, making it a serious threat for publicly exposed dashboards.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to dashboards v4.2.2 or later, which removes the unchecked lookup.
  • If an upgrade is not possible, restrict the chartConstructor lookup to a whitelist of allowed chart types or disable the chartConstructor feature in configuration.
  • Validate or sanitize all dashboard configuration data before sending to the client, ensuring only trusted values are used for constructor names and options.
  • Implement a strict Content Security Policy that disallows inline scripts and event handler attributes to mitigate potential injection.

Generated by OpenCVE AI on October 28, 2026 at 19:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-grj7-r4jv-pw9j Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespace
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Highcharts
Highcharts dashboards
Highcharts highcharts
Vendors & Products Highcharts
Highcharts dashboards
Highcharts highcharts
Type Values Removed Values Added
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.
Title Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespace
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 29, 2026, 8:55 PM
Reserved
Oct 27, 2026, 8:13 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 6:17 PM
Modified
Oct 29, 2026, 9:17 PM