Highcharts Core: Breadcrumbs style attribute cross-site scripting (CVE-2026-118246)
A cross-site scripting (XSS) vulnerability in Highcharts Core allows arbitrary JavaScript execution when an attacker-controlled chart configuration injects event-handler attributes into SVG breadcrumb elements.
CVE search metadata
CVE search record: CVE-2026-118246. KEV: no. Product: Highcharts Core (>= 10.0.0, < 11.4.9), Highcharts Core (>= 12.0.0, < 12.6.1), Highcharts Core (>= 13.0.0, <= 13.0.2). Brief: Highcharts Core: Breadcrumbs style attribute cross-site scripting (CVE-2026-118246). Brief link: https://feed.craftedsignal.io/briefs/2026-10-highcharts-xss/
Triage facts
Revision 1- Applicability
- Highcharts Core (>= 10.0.0, < 11.4.9), Highcharts Core (>= 12.0.0, < 12.6.1) +1
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Oct 29, 00:16 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
Highcharts Core versions 10.0.0 through 13.0.2 are affected by a cross-site scripting (XSS) vulnerability identified as CVE-2026-118246. The breadcrumbs.style configuration option fails to sanitize keys before applying them as SVG attributes. An attacker capable of influencing the chart configuration can inject event-handler attributes, such as onmouseover, which the browser will execute in the context of the origin hosting the chart when the breadcrumb component is rendered and interacted with by a user. This flaw affects Highcharts Core, Highcharts Stock, Highcharts Maps, and Highcharts Gantt. Charts utilizing "styled mode" are not affected.
Impact
Successful exploitation leads to arbitrary JavaScript execution in the user's browser session. This can be used to hijack user sessions, steal sensitive data, or perform unauthorized actions on behalf of the user within the vulnerable application origin.
Recommendation
- Upgrade Highcharts to the patched versions: 11.4.9, 12.6.1, or 13.1.0 or later.
- If upgrading is not immediately feasible, apply the provided JavaScript workaround by injecting the following snippet after loading the Highcharts library but before any chart initialization:
((H)=>{const S=H.SVGElement.prototype,D=S._defaultSetter;S._defaultSetter=function _defaultSetter(v,k,e){/^on/i.test(k)||D.call(this,v,k,e)};})(Highcharts); - Audit applications that pass user-supplied or external JSON configuration objects to Highcharts to ensure the
breadcrumbsconfiguration object is strictly validated against a known-safe schema.
Immediate actions
Patch Highcharts to versions 11.4.9, 12.6.1, or 13.1.0.
Threat Hunt
Scan web application traffic or backend logs for user-supplied JSON payloads containing 'breadcrumbs' configuration objects with suspicious keys (e.g., 'onmouseover', 'onclick', 'onerror').
Data: HTTP POST payloads, JSON configuration blobs
Mitigations
Deploy JavaScript workaround snippet in production environment if patching is delayed.
CVE-2026-118246