Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @highcharts/dashboards
  4. ›
  5. CVE-2026-118245

CVE-2026-118245: Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespace

October 28, 2026

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.

References

  • github.com/advisories/GHSA-grj7-r4jv-pw9j
  • github.com/highcharts/highcharts/commit/98d3652cdc4f66fbccbbb8b4184ecd8f647f74de
  • github.com/highcharts/highcharts/releases/tag/dashboards-v4.2.2
  • github.com/highcharts/highcharts/security/advisories/GHSA-grj7-r4jv-pw9j
  • nvd.nist.gov/vuln/detail/CVE-2026-118245

Code Behaviors & Features

Detect and mitigate CVE-2026-118245 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.0.0 before 4.2.2

Fixed versions

  • 4.2.2

Solution

Upgrade to version 4.2.2 or above.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@highcharts/dashboards/CVE-2026-118245.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.