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

CVE-2026-118242: Highcharts Grid: custom icon definition objects written with raw `setAttribute` on `<path>`

October 28, 2026

A custom icon supplied under rendering.icons as an icon definition object is built by creating an SVG path for each of its child entries and setting every key of that entry as an attribute of the path, without filtering the attribute names; only the string form of the option is passed through the markup allow-list. An attacker who controls the Grid configuration can therefore supply child entries whose keys name event handlers, and those handlers execute in the origin of the page hosting the Grid. Custom icons take precedence over the built-in ones, so the attacker can replace icons that render without any further configuration, such as the sort icon shown in every column header by default and the pagination controls where pagination is enabled, and does not need any reference to a custom icon name. Exploitation requires that untrusted data reach the Grid configuration and that a user hover over or activate an affected icon.

References

  • github.com/advisories/GHSA-6g3c-p4fg-xv47
  • github.com/highcharts/highcharts/commit/8fc970658fee6601625b42da29d27c3ef7c45e30
  • github.com/highcharts/highcharts/security/advisories/GHSA-6g3c-p4fg-xv47
  • nvd.nist.gov/vuln/detail/CVE-2026-118242

Code Behaviors & Features

Detect and mitigate CVE-2026-118242 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 2.3.0 before 3.2.0

Fixed versions

  • 3.2.0

Solution

Upgrade to version 3.2.0 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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/grid-lite/CVE-2026-118242.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:24 +0000.