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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.41% (percentile 27, 2026-11-28)
- **CWE:** CWE-79
- **Aliases:** GHSA-6g3c-p4fg-xv47
- **Published:** 2026-10-28T17:30:55.383Z
- **Modified:** 2026-11-03T13:17:20.927Z

## Who should check

- Projects that depend on npm package @highcharts/grid-lite (\>= 2.3.0, \< 3.2.0)
- Projects that depend on npm package @highcharts/grid-pro (\>= 2.3.0, \< 3.2.0)
- Anyone running highcharts \< 13.1.0
- Anyone running @highcharts grid-lite \>= 2.3.0, \< 3.2.0
- Anyone running @highcharts grid-pro \>= 2.3.0, \< 3.2.0

## 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 and fixed versions

- npm `@highcharts/grid-lite`: affected \>= 2.3.0, \< 3.2.0; fixed 3.2.0 (osv)
- npm `@highcharts/grid-pro`: affected \>= 2.3.0, \< 3.2.0; fixed 3.2.0 (osv)
- highcharts: \< 13.1.0 (cvelist)
- @highcharts grid-lite: \>= 2.3.0, \< 3.2.0 (cvelist)
- @highcharts grid-pro: \>= 2.3.0, \< 3.2.0 (cvelist)

## Mitigation

- Upgrade @highcharts/grid-lite to 3.2.0 or later.
- Upgrade @highcharts/grid-pro to 3.2.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-118242. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-118242.md
Affected: @highcharts/grid-lite >= 2.3.0, < 3.2.0; @highcharts/grid-pro >= 2.3.0, < 3.2.0
Fixed in: 3.2.0

Steps:
1. Search this machine and project for @highcharts/grid-lite (npm), @highcharts/grid-pro (npm), highcharts, @highcharts grid-lite, @highcharts grid-pro: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-118242 being exploited?

There is no confirmed exploitation: CVE-2026-118242 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-118242?

High: CVSS 8.5 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-118242?

@highcharts/grid-lite \>= 2.3.0, \< 3.2.0; @highcharts/grid-pro \>= 2.3.0, \< 3.2.0.

### Is there a fix for CVE-2026-118242?

Yes. Fixed in 3.2.0. Upgrade @highcharts/grid-lite to 3.2.0 or later. Upgrade @highcharts/grid-pro to 3.2.0 or later.

### How do I check if I'm affected by CVE-2026-118242?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/highcharts/highcharts/security/advisories/GHSA-6g3c-p4fg-xv47>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-118242>
- patch: <https://github.com/highcharts/highcharts/commit/8fc970658fee6601625b42da29d27c3ef7c45e30>
- other: <https://github.com/highcharts/highcharts>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-118242>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6g3c-p4fg-xv47> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-118242> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-118242>
