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

Status: published. Published: 2026-10-28. Updated: 2026-11-03.

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.

## Remediation

- fix: @highcharts/grid-lite (npm): OSV reports a fixed version 3.2.0. Check the advisory for supported release branches. (source: OSV GHSA-6g3c-p4fg-xv47) — https://github.com/advisories/GHSA-6g3c-p4fg-xv47
- fix: @highcharts/grid-pro (npm): OSV reports a fixed version 3.2.0. Check the advisory for supported release branches. (source: OSV GHSA-6g3c-p4fg-xv47) — https://github.com/advisories/GHSA-6g3c-p4fg-xv47

## Affected products and versions

- highcharts / highcharts: < 13.1.0 (affected). Source: CNA: GitHub_M
- @highcharts / grid-lite: >= 2.3.0, < 3.2.0 (affected). Source: CNA: GitHub_M
- @highcharts / grid-pro: >= 2.3.0, < 3.2.0 (affected). Source: CNA: GitHub_M
-  / @highcharts/grid-lite (@highcharts/grid-lite): ≥ 2.3.0; < 3.2.0 (affected, semver); OSV events: introduced 2.3.0; fixed 3.2.0. Source: OSV GHSA-6g3c-p4fg-xv47
-  / @highcharts/grid-pro (@highcharts/grid-pro): ≥ 2.3.0; < 3.2.0 (affected, semver); OSV events: introduced 2.3.0; fixed 3.2.0. Source: OSV GHSA-6g3c-p4fg-xv47

## Severity and prioritization

- CVSS 4.0: 8.5 (high); 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; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: 0.30% as of 2026-11-02; percentile 23.29%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-79

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/highcharts/highcharts/security/advisories/GHSA-6g3c-p4fg-xv47 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/highcharts/highcharts/commit/8fc970658fee6601625b42da29d27c3ef7c45e30 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/advisories/GHSA-6g3c-p4fg-xv47 (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-6g3c-p4fg-xv47 (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-118242; retrieved 2026-11-03; source updated 2026-11-03

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-6g3c-p4fg-xv47; retrieved 2026-11-03; source updated 2026-10-28

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-118242; retrieved 2026-11-03; source updated Not reported

Revision: 9cc750573302ad9c2ffc43bb384cf73727ca307f065b60bb78ce85b4d4620236

Canonical: https://y2.dev/cve/CVE-2026-118242

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.