CVE-2026-118242

Highcharts Grid: custom icon definition objects written with raw `setAttribute` on `<path>`

State
Published
Severity
8.5 High
Published
Oct 28, 2026
Updated
Oct 28, 2026
Reserved
Oct 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.5 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:NGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
highchartshighcharts
  • < 13.1.0Affected
grid-lite@highcharts
  • >= 2.3.0, < 3.2.0Affected
grid-pro@highcharts
  • >= 2.3.0, < 3.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.