Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M

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

High 8.5

In plain English

A high-severity cross-site scripting in grid-lite from @highcharts. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.5High
Exploit odds (30 days)0.3%top 76.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Highcharts JS is a JavaScript charting library based on SVG. From 2.3.0 until 3.2.0, Highcharts Grid creates SVG path elements from rendering.icons object definitions and previously copied every child key with setAttribute. An attacker who controls Grid configuration can supply event-handler attribute names in an icon definition. Because custom icons override built-ins, the attacker can replace default sort or pagination icons, and script runs in the hosting page origin when a user hovers over or activates the affected icon. This issue is fixed in 3.2.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@highcharts/grid-lite3.2.0GHSA-6g3c-p4fg-xv47
npm@highcharts/grid-pro3.2.0GHSA-6g3c-p4fg-xv47

Affected products (as reported)

VendorProductVersions
highcharts highcharts < 13.1.0
@highcharts grid-lite >= 2.3.0, < 3.2.0
@highcharts grid-pro >= 2.3.0, < 3.2.0

Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

References