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

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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 to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-10-28T17:30:55.383Z
- Modified: 2026-11-03T13:17:20.927Z
- Also known as: GHSA-6g3c-p4fg-xv47
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- highcharts highcharts: < 13.1.0
- @highcharts grid-lite: >= 2.3.0, < 3.2.0
- @highcharts grid-pro: >= 2.3.0, < 3.2.0
- @highcharts/grid-lite (npm): from 2.3.0 before 3.2.0
- @highcharts/grid-pro (npm): from 2.3.0 before 3.2.0

## Every score

- GitHub_M: 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`
- GitHub: CVSS:4.0 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`

## References

- <https://github.com/highcharts/highcharts/security/advisories/GHSA-6g3c-p4fg-xv47> (web)
- <https://github.com/highcharts/highcharts/commit/8fc970658fee6601625b42da29d27c3ef7c45e30> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-118242> (advisory)
- <https://github.com/highcharts/highcharts> (package)

## Sources

- CVE List: [CVE-2026-118242](https://www.cve.org/CVERecord?id=CVE-2026-118242), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-6g3c-p4fg-xv47](https://github.com/advisories/GHSA-6g3c-p4fg-xv47), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-118242](https://nvd.nist.gov/vuln/detail/CVE-2026-118242), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-118242 · Whole record: https://cve.day/CVE-2026-118242.json · Rebuilt by cve.day 2026-11-25T22:59:47.659Z
