{"id":"CVE-2026-118253","kind":"vulnerability","aliases":["CVE-2026-118253","GHSA-58g7-7f52-h92c"],"related":[],"title":"Highcharts Dashboards parses fullscreen labels as HTML","description":"### Impact\nThe edit mode fullscreen labels are parsed as HTML when the corresponding control is rendered. An attacker who controls the Dashboards language options can supply markup carrying event handlers, which then execute in the origin of the page hosting the dashboard. Exploitation requires that untrusted data reach the Dashboards language configuration and that the affected control be rendered. Script running this way has the same access to page data, storage and session state as the hosting application.\n\n### Workarounds\n\nUntil you can upgrade, replace `Fullscreen.prototype.setButtonText` atapplication startup. The replacement is the original method with `textContent` in place of `innerHTML`.\n\n#### If you install Dashboards from npm\n\nImport the module once, before any board is created.\n\n```js\nimport Fullscreen from '@highcharts/dashboards/es-modules/Dashboards/EditMode/Fullscreen.js';\n\nFullscreen.prototype.setButtonText = function () {\n    const editMode = this.board.editMode,\n        button = editMode?.tools.contextMenu?.items.viewFullscreen;\n\n    if (button?.innerElement) {\n        const lang = editMode.lang;\n\n        button.innerElement.textContent =\n            (this.isOpen ? lang.exitFullscreen : lang.viewFullscreen) || '';\n    }\n};\n```\n\n#### If you load Dashboards from a `<script>` tag\n\nThe same replacement, taking `Fullscreen` from the global namespace. It must run after `modules/layout` and before any board is created.\n\n```html\n<script src=\"https://code.highcharts.com/dashboards/dashboards.js\"></script>\n<script src=\"https://code.highcharts.com/dashboards/modules/layout.js\"></script>\n<script>\n{\n    const Fullscreen = window.Dashboards?.Fullscreen;\n\n    Fullscreen.prototype.setButtonText = function () {\n        const editMode = this.board.editMode,\n            button = editMode?.tools.contextMenu?.items.viewFullscreen;\n\n        if (button?.innerElement) {\n            const lang = editMode.lang;\n\n            button.innerElement.textContent =\n                (this.isOpen ? lang.exitFullscreen : lang.viewFullscreen) || '';\n        }\n    };\n}\n</script>\n```\n\nIf your application does not need Edit Mode, leaving it disabled (`editMode.enabled: false`) removes the exposure as well. The same applies to the context menu — the label is only reachable when `viewFullscreen` is among `editMode.contextMenu.items`.\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/dashboards@4.2.3`. If you load Highcharts Dashboards from a CDN, use a versioned URL, for example `https://code.highcharts.com/dashboards/4.2.3/dashboards.js`. For more on each installation method, see the [installation guide](https://www.highcharts.com/docs/dashboards/installation).","summary":"Highcharts Dashboards edit mode parses fullscreen language labels as HTML instead of text, from version 1.0.0 through 4.2.3. An attacker who controls Dashboards language options can supply markup with event handlers that run in the hosting page origin when the fullscreen control renders.","severity":"high","cvss":8.4,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"@highcharts/dashboards","fixed":["4.2.3"],"affected":">= 1.0.0, < 4.2.3","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["cwe-79","dashboards","frontend","highcharts","javascript","package"],"not_affected_if":["default-config","no-user-controlled-language","static-charts"],"how_to_check":"- Check the installed Highcharts version with `npm ls highcharts` or the version in the page's script URL.\n- Look for Dashboards edit mode enabled and `viewFullscreen` in the context-menu items.\n- Check whether language options for Dashboards come from user-controlled input.","fix":"- Upgrade Highcharts to `4.2.3` or later.","status":"open","published_at":"2026-10-28T19:17:29+00:00","first_seen_at":"2026-10-28T19:34:54+00:00","triaged_at":"2026-10-28T19:35:51+00:00","updated_at":"2026-10-28T20:01:43+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-28T19:35:51Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Highcharts to `4.2.3` or later.","reach":"internet","title":"Highcharts Dashboards: fullscreen label injects HTML, runs scripts in page","impact":"high","summary":"Highcharts Dashboards edit mode parses fullscreen language labels as HTML instead of text, from version 1.0.0 through 4.2.3. An attacker who controls Dashboards language options can supply markup with event handlers that run in the hosting page origin when the fullscreen control renders.","category":"package","nicknames":[],"who_cares":["highcharts","javascript","frontend","dashboards"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attacker script runs in the hosting page origin, reading session data.","analyst_note":"Check the NVD entry and the Highcharts release notes for whether any user action is required and whether the edit-mode flag is needed for exploitation.","how_to_check":"- Check the installed Highcharts version with `npm ls highcharts` or the version in the page's script URL.\n- Look for Dashboards edit mode enabled and `viewFullscreen` in the context-menu items.\n- Check whether language options for Dashboards come from user-controlled input.","needs_analyst":true,"not_affected_if":["default-config","static-charts","no-user-controlled-language"],"who_is_affected":"Teams that use Highcharts Dashboards with edit mode enabled and the viewFullscreen context-menu item, and that let untrusted users set language options. Pages that only render static charts or that do not enable Dashboards edit mode are not reached by this label path.","user_interaction":"unknown","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000631,"input_tokens":3376,"output_tokens":587,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-118253':10A,18A '-2026':9A,17A '-79':21B '/dashboards/4.2.3/dashboards.js':298C '/docs/dashboards/installation).':311C '1.0.0':42B '4.2.3':44B,281C '58g7':13A '7f52':14A 'access':136C 'affect':125C,268C 'among':247C 'appli':234C 'applic':147C,216C 'atappl':155C 'attack':46B,87C 'avail':257C 'board':181C 'button':194C,199C 'button.innerelement.textcontent':204C 'carri':97C 'cdn':289C 'channel':263C 'code.highcharts.com':297C 'code.highcharts.com/dashboards/4.2.3/dashboards.js':296C 'configur':121C 'const':191C,201C 'context':237C 'control':48B,68B,83C,89C,126C 'correspond':82C 'creat':183C 'cve':8A,16A 'cwe':20B 'dashboard':2A,22B,28B,49B,91C,111C,119C,172C,211C,286C 'data':116C,139C 'disabl':224C 'distribut':262C 'edit':29B,72C,220C 'editmod':192C,195C 'editmode.contextmenu.items':248C 'editmode.enabled':225C 'editmode.lang':203C 'event':56B,98C 'exampl':277C,295C 'execut':102C 'exploit':112C 'exposur':229C 'fals':226C 'frontend':23B 'fullscreen':4A,32B,67B,74C,186C 'fullscreen.prototype.setbuttontext':154C,189C 'function':190C 'ghsa':12A 'ghsa-58g7-7f52-h92c':11A 'guid':308C 'h92c':15A 'handler':57B,99C 'highchart':1A,24B,27B,285C 'highcharts/dashboards':19A,280C 'highcharts/dashboards/es-modules/dashboards/editmode/fullscreen.js':188C 'host':62B,109C,146C 'html':7A,36B,79C 'impact':70C 'import':175C,185C 'innerel':200C 'innerhtml':168C 'instal':171C,279C,303C,307C 'instead':37B 'items.viewfullscreen':197C 'javascript':25B 'js':184C 'label':5A,34B,75C,240C 'lang':202C 'lang.exitfullscreen':206C 'lang.viewfullscreen':207C 'languag':33B,50B,92C,120C 'leav':222C 'list':274C 'load':210C,284C 'markup':54B,96C 'menu':238C 'method':162C,304C 'mode':30B,73C,221C 'modul':177C 'need':219C 'npm':174C,265C,278C 'obtain':249C 'option':51B,93C 'origin':64B,105C,161C 'packag':26B,269C 'page':63B,108C,138C 'pars':3A,31B,77C 'patch':251C,254C,272C 'place':166C 'reach':117C 'reachabl':243C 'releas':255C 'remov':227C 'render':69B,85C,128C 'replac':153C,158C 'requir':113C 'run':59B,130C 'script':129C 'see':305C 'session':142C 'startup':156C 'state':143C 'storag':140C 'suppli':53B,95C 'text':39B 'textcont':164C 'this.board.editmode':193C 'this.isopen':205C 'tools.contextmenu':196C 'untrust':115C 'upgrad':152C,266C 'url':293C 'use':290C 'usual':261C 'version':41B,252C,273C,292C 'viewfullscreen':245C 'way':132C 'well':231C 'workaround':148C 'www.highcharts.com':310C 'www.highcharts.com/docs/dashboards/installation).':309C","nicknames":[],"mitigations":[],"who_affected":"Teams that use Highcharts Dashboards with edit mode enabled and the viewFullscreen context-menu item, and that let untrusted users set language options. Pages that only render static charts or that do not enable Dashboards edit mode are not reached by this label path.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-28T19:17:29+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-118253","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118253","severity":null,"published_at":"2026-10-28T19:17:29+00:00","modified_at":"2026-10-28T19:17:29+00:00","first_seen_at":"2026-10-28T19:34:54+00:00","fetched_at":"2026-10-28T19:34:54+00:00","note":null},{"source":"ghsa","external_id":"GHSA-58g7-7f52-h92c","url":"https://github.com/advisories/GHSA-58g7-7f52-h92c","severity":"high","published_at":"2026-10-28T19:57:19+00:00","modified_at":"2026-10-28T19:57:21+00:00","first_seen_at":"2026-10-28T20:01:43+00:00","fetched_at":"2026-10-28T20:01:43+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"}