---
id: CVE-2026-118242
title: >-
  Highcharts Grid: custom icon definition objects written with raw
  `setAttribute` on `<path>`
summary: >-
  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 w…
severity: high
cvss: 8.5
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-79
vendor: highcharts
product: highcharts
affected:
  - highcharts < 13.1.0
  - 'grid-lite >= 2.3.0, < 3.2.0'
  - 'grid-pro >= 2.3.0, < 3.2.0'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-03T13:10:47.210465Z'
published: '2026-10-28'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T13:11:25.940Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-118242'
references:
  - url: >-
      https://github.com/highcharts/highcharts/security/advisories/GHSA-6g3c-p4fg-xv47
    label: >-
      https://github.com/highcharts/highcharts/security/advisories/GHSA-6g3c-p4fg-xv47
  - url: >-
      https://github.com/highcharts/highcharts/commit/8fc970658fee6601625b42da29d27c3ef7c45e30
    label: >-
      https://github.com/highcharts/highcharts/commit/8fc970658fee6601625b42da29d27c3ef7c45e30
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-118242'
  - url: 'https://github.com/advisories/GHSA-6g3c-p4fg-xv47'
tags:
  - cve.org
  - ghsa
  - npm
epss: 0.00305
epssPercentile: 0.23405
aliases:
  - GHSA-6g3c-p4fg-xv47
ecosystem: npm
patched:
  - '@highcharts/grid-lite 3.2.0'
  - '@highcharts/grid-pro 3.2.0'
ingestedAt: '2026-10-28T18:15:46.391Z'
---

## Overview

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

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-118242)

Affected packages:

- `@highcharts/grid-lite >= 2.3.0, <= 3.1.0`
- `@highcharts/grid-pro >= 2.3.0, <= 3.1.0`

Patched in:

- `@highcharts/grid-lite 3.2.0`
- `@highcharts/grid-pro 3.2.0`

Source: https://github.com/advisories/GHSA-6g3c-p4fg-xv47
