CVE-2026-118242

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

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

Analysis

AI-generated

Technical impact

The vulnerability resides in the Highcharts Grid feature which constructs SVG path elements from icon definitions using raw setAttribute calls. When an attacker controls the Grid configuration they can inject event‑handler attribute names into an icon definition. Because custom icons override the library's default icons the attacker can replace sort or pagination icons and cause the injected attributes to execute arbitrary script when a user hovers over or activates the icon. This results in cross‑site scripting that permits disclosure, modification or destruction of data and manipulation of the page.

Affected Systems

Highcharts Grid Lite and Grid Pro components in the Highcharts JavaScript library are affected. All releases from version 2.3.0 up through 3.1.x contain the flaw; version 3.2.0 and later include the fix.

Risk and Exploitability

The CVSS score of 8.5 classifies this as a high‑severity flaw. The EPSS score is not provided, indicating the precise exploitation probability is unknown, but the persistence of the XSS and its simple trigger via user interaction raise the risk of widespread attacks. The vulnerability is not listed in the CISA KEV catalog. Successful exploitation requires the attacker to embed malicious icon configurations into a page that loads Highcharts Grid; once the configuration is loaded hovering or activating the replaced icon triggers the payload.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Highcharts Grid Lite and Grid Pro to version 3.2.0 or later to remove the raw setAttribute usage from icon construction.
  • If an upgrade is not feasible, disable custom icon support or strip event‑handler attributes from icon definitions before passing them to the Grid component.
  • Validate and sanitize any externally supplied Grid configuration to ensure that no event‑handler attributes are present and that only trusted sources generate icon definitions.

Generated by OpenCVE AI on October 28, 2026 at 18:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6g3c-p4fg-xv47 Highcharts Grid: custom icon definition objects written with raw `setAttribute` on `<path>`
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
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Highcharts
Highcharts grid-lite
Highcharts grid-pro
Highcharts highcharts
Vendors & Products Highcharts
Highcharts grid-lite
Highcharts grid-pro
Highcharts highcharts
Type Values Removed Values Added
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.
Title Highcharts Grid: custom icon definition objects written with raw `setAttribute` on `<path>`
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 8.5, '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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2026, 1:11 PM
Reserved
Oct 27, 2026, 8:13 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 6:17 PM
Modified
Nov 3, 2026, 1:17 PM
Severity
Moderate
Public date
Oct 28, 2026, 5:30 PM