{"id":"CVE-2026-118246","kind":"vulnerability","aliases":["CVE-2026-118246","GHSA-35rr-xwfh-x789"],"related":[],"title":"Highcharts Core: `breadcrumbs.style` keys become SVG event-handler attributes","description":"### Impact\nThe breadcrumbs `style` option is applied to the breadcrumb button as SVG attributes rather than as CSS, and the attribute names are not filtered. An attacker who controls the chart configuration can supply keys under `breadcrumbs.style` that name event handlers, and those keys become live handlers on the breadcrumb button, so the attacker's script runs in the origin of the page hosting the chart. The option is reached through `drilldown.breadcrumbs`, `navigation.breadcrumbs` and the `breadcrumbs` option of the treemap, sunburst and treegraph series. Exploitation requires that untrusted data reach the chart configuration and that a user drill down, or traverse into a level of a hierarchical series, so that the breadcrumbs render, and then hover over or activate the breadcrumb button. Charts rendered in styled mode do not apply the option and are not affected. Charts built with Highcharts Stock, Maps and Gantt are included, since those ship from the same package as Core.\n\n### Workarounds\nVerified against published bundles on 10.0.0, 11.4.8, 12.3.0 and 13.0.2.\n\nLoad immediately after Highcharts, before any chart is created:\n\n```js\n// Workaround fix for all affected Highcharts versions: 10.0.0-13.0.2\n((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);\n// End of the workaround fix\n```\n\n### Obtaining the patched version\nThe patched releases are available from all the usual distribution channels. With npm, upgrade the affected package to the patched version listed above, for example `npm install highcharts@13.1.0`. If you load Highcharts from the CDN, use the versioned URLs on code.highcharts.com, for example `https://code.highcharts.com/13.1.0/highcharts.js`. For more on each installation method, see the [installation guide](https://www.highcharts.com/docs/getting-started/installation).","summary":"Highcharts JS applies breadcrumbs.style as SVG attributes without filtering attribute names, so event-handler keys supplied through chart configuration become live handlers on breadcrumb buttons. When a user navigates to a drilldown level and hovers or clicks the button, the attacker's script runs in the hosting page's origin.","severity":"high","cvss":8.4,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"highcharts","fixed":["11.4.9"],"affected":">= 10.0.0, < 11.4.9","ecosystem":"npm"},{"name":"highcharts","fixed":["12.6.1"],"affected":">= 12.0.0, < 12.6.1","ecosystem":"npm"},{"name":"highcharts","fixed":["13.1.0"],"affected":">= 13.0.0, <= 13.0.2","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["cwe-79","frontend","highcharts","javascript","package","web-apps"],"not_affected_if":["no-user-controlled-chart-options","static-config","styled-mode"],"how_to_check":"- Check the installed version with `npm ls highcharts` and look for versions from `10.0.0` up to but not including `11.4.9`, `12.6.1`, or `13.1.0`\n- Search the codebase for `breadcrumbs` next to `drilldown` or `navigation` options and confirm whether any chart configuration is built from user-controlled data\n- Confirm whether charts use styled mode, which is not affected","fix":"- Upgrade highcharts to `11.4.9`, `12.6.1`, or `13.1.0` depending on the major version in use\n- Until upgraded, do not pass user-controlled values into drilldown or breadcrumb configuration","status":"open","published_at":"2026-10-28T18:17:15+00:00","first_seen_at":"2026-10-28T18:34:33+00:00","triaged_at":"2026-10-28T18:34:46+00:00","updated_at":"2026-10-28T19:56:29+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-28T18:34:46Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade highcharts to `11.4.9`, `12.6.1`, or `13.1.0` depending on the major version in use\n- Until upgraded, do not pass user-controlled values into drilldown or breadcrumb configuration","reach":"internet","title":"Highcharts JS: breadcrumb style options run attacker event handlers in page","impact":"high","summary":"Highcharts JS applies breadcrumbs.style as SVG attributes without filtering attribute names, so event-handler keys supplied through chart configuration become live handlers on breadcrumb buttons. When a user navigates to a drilldown level and hovers or clicks the button, the attacker's script runs in the hosting page's origin.","category":"package","nicknames":[],"who_cares":["javascript","highcharts","frontend","web-apps"],"confidence":0.7,"needs_auth":"unknown","worst_case":"Attacker script runs in the hosting page's origin, reading session data","analyst_note":"Confirm the exact affected version ranges and whether the NVD entry lists the fixed versions for each major line; the description's wording on 10.0.0 lower bound and 'until' semantics should be verified against the Highcharts release notes.","how_to_check":"- Check the installed version with `npm ls highcharts` and look for versions from `10.0.0` up to but not including `11.4.9`, `12.6.1`, or `13.1.0`\n- Search the codebase for `breadcrumbs` next to `drilldown` or `navigation` options and confirm whether any chart configuration is built from user-controlled data\n- Confirm whether charts use styled mode, which is not affected","needs_analyst":true,"not_affected_if":["styled-mode","static-config","no-user-controlled-chart-options"],"who_is_affected":"Exposure requires that an attacker can influence chart configuration, such as drilldown or breadcrumb options built from user input, stored data or a CMS field. Charts built only from fixed, developer-written configuration and charts using styled mode are not affected.","user_interaction":"yes","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000707,"input_tokens":3455,"output_tokens":723,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-118246':13A,21A '-2026':12A,20A '-79':26B '/13.1.0/highcharts.js':345C '/docs/getting-started/installation).':358C '10.0.0':246C,268C '11.4.8':247C '12.3.0':248C '13.0.2':250C,269C '13.1.0':327C '35rr':16A 'activ':203C 'affect':220C,265C,314C 'app':33B 'appli':36B,91C,214C 'attack':75B,111C,138C 'attribut':10A,40B,43B,98C,105C 'avail':303C 'becom':5A,54B,129C 'breadcrumb':58B,87C,94C,134C,160C,196C,205C 'breadcrumbs.style':3A,37B,121C 'built':222C 'bundl':244C 'button':59B,73B,95C,135C,206C 'cdn':334C 'channel':309C 'chart':52B,115C,150C,176C,207C,221C,257C 'click':71B 'code.highcharts.com':340C,344C 'code.highcharts.com/13.1.0/highcharts.js':343C 'configur':53B,116C,177C 'const':271C 'control':113C 'core':2A,239C 'creat':259C 'css':102C 'cve':11A,19A 'cwe':25B 'd':274C 'd.call':284C 'data':173C 'defaultsett':278C 'distribut':308C 'drill':182C 'drilldown':66B 'drilldown.breadcrumbs':156C 'e':281C,288C 'end':290C 'event':8A,47B,124C 'event-handl':7A,46B 'exampl':323C,342C 'exploit':169C 'filter':42B,109C 'fix':262C,294C 'frontend':27B 'function':277C 'gantt':228C 'ghsa':15A 'ghsa-35rr-xwfh-x789':14A 'guid':355C 'h':270C 'h.svgelement.prototype':273C 'handler':9A,48B,56B,125C,131C 'hierarch':191C 'highchart':1A,28B,34B,224C,254C,266C,289C,326C,331C 'highcharts':22A,23A,24A 'host':81B,148C 'hover':69B,200C 'immedi':252C 'impact':85C 'includ':230C 'instal':325C,350C,354C 'javascript':29B 'js':35B,260C 'k':280C,283C,287C 'key':4A,49B,119C,128C 'level':67B,188C 'list':320C 'live':55B,130C 'load':251C,330C 'map':226C 'method':351C 'mode':211C 'name':44B,106C,123C 'navig':63B 'navigation.breadcrumbs':157C 'npm':311C,324C 'obtain':295C 'on/i.test':282C 'option':89C,152C,161C,216C 'origin':84B,144C 'packag':30B,237C,315C 'page':82B,147C 'patch':297C,300C,318C 'publish':243C 'rather':99C 'reach':154C,174C 'releas':301C 'render':197C,208C 'requir':170C 'run':78B,141C 's._defaultsetter':275C,276C 'script':77B,140C 'see':352C 'seri':168C,192C 'ship':233C 'sinc':231C 'stock':225C 'style':88C,210C 'sunburst':165C 'suppli':50B,118C 'svg':6A,39B,97C 'travers':185C 'treegraph':167C 'treemap':164C 'untrust':172C 'upgrad':312C 'url':338C 'use':335C 'user':62B,181C 'usual':307C 'v':279C,286C 'verifi':241C 'version':267C,298C,319C,337C 'web':32B 'web-app':31B 'without':41B 'workaround':240C,261C,293C 'www.highcharts.com':357C 'www.highcharts.com/docs/getting-started/installation).':356C 'x789':18A 'xwfh':17A","nicknames":[],"mitigations":[],"who_affected":"Exposure requires that an attacker can influence chart configuration, such as drilldown or breadcrumb options built from user input, stored data or a CMS field. Charts built only from fixed, developer-written configuration and charts using styled mode are not affected.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-28T18:17:15+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-118246","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118246","severity":null,"published_at":"2026-10-28T18:17:15+00:00","modified_at":"2026-10-28T18:17:15+00:00","first_seen_at":"2026-10-28T18:34:33+00:00","fetched_at":"2026-10-28T18:34:33+00:00","note":null},{"source":"ghsa","external_id":"GHSA-35rr-xwfh-x789","url":"https://github.com/advisories/GHSA-35rr-xwfh-x789","severity":"high","published_at":"2026-10-28T19:56:07+00:00","modified_at":"2026-10-28T19:56:11+00:00","first_seen_at":"2026-10-28T19:56:29+00:00","fetched_at":"2026-10-28T19:56:29+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}