{"id":"CVE-2026-116797","aliases":["GHSA-5ghw-9mgr-jvx2"],"title":"Highcharts Grid Pro: cell-renderer `attributes` map written with raw `setAttribute`","titleSource":"GitHub_M","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"### Impact\nThe input-type cell renderers copy every entry of the renderer's `attributes` option onto the input or select element they create, without checking the attribute names. An attacker who controls the Grid configuration can supply entries under a column's `cells.renderer.attributes` or `cells.editMode.renderer.attributes` whose names are event handlers, and those handlers execute in the origin of the page hosting the Grid. A view renderer places the handler on the input rendered in every row of the column as soon as the Grid renders; an edit-mode renderer places it on the input created when a cell enters edit mode, and that input is focused immediately, so a `focus` handler runs as soon as the user starts editing. Exploitation requires that untrusted data reach the Grid configuration and that a user hover over or focus one of the rendered inputs, or begin editing a cell. The Pro DataGrid that shipped inside the Dashboards package is included.\n\n### Workarounds\n\nIf your column configuration comes from a source you do not fully control, paste this snippet right after importing the `Grid` module:\n\n```ts\nconst ALLOWED_RENDERER_ATTRIBUTES = [\n    'autofocus', 'checked', 'max', 'maxlength', 'min', 'minlength',\n    'multiple', 'pattern', 'placeholder', 'size', 'step'\n];\n\nconst scrubColumn = (column) => {\n    const cells = column?.cells;\n\n    for (const renderer of [cells?.renderer, cells?.editMode?.renderer]) {\n        const attributes = renderer?.attributes;\n\n        if (attributes) {\n            for (const key of Object.keys(attributes)) {\n                if (!ALLOWED_RENDERER_ATTRIBUTES.includes(key.toLowerCase())) {\n                    delete attributes[key];\n                }\n            }\n        }\n    }\n\n    return column;\n};\n\nconst scrubOptions = (options) => {\n    scrubColumn(options?.columnDefaults);\n    (options?.columns || []).forEach(scrubColumn);\n    return options;\n};\n\nconst proto = Grid.Grid.prototype;\n\nconst loadUserOptions = proto.loadUserOptions;\nproto.loadUserOptions = function (options, ...rest) {\n    scrubOptions(Grid.defaultOptions);\n    return loadUserOptions.call(this, scrubOptions(options), ...rest);\n};\n\nconst updateColumn = proto.updateColumn;\nproto.updateColumn = function (columnId, options, ...rest) {\n    return updateColumn.call(this, columnId, scrubColumn(options), ...rest);\n};\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/grid-lite@3.2.0`. If you load Highcharts Grid from a CDN, use a versioned URL, for example `https://cdn.jsdelivr.net/npm/@highcharts/grid-lite@3.2.0/grid-lite.js`. For more on each installation method, see the [installation guide](https://www.highcharts.com/docs/grid/installation).","severity":"high","score":8.5,"published":"2026-10-28T17:28:33.128Z","modified":"2026-10-28T20:15:05.434Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"npm","name":"@highcharts/grid-pro","sources":[{"name":"OSV · GHSA-5ghw-9mgr-jvx2","url":"https://osv.dev/vulnerability/GHSA-5ghw-9mgr-jvx2"}],"ranges":[{"events":[{"introduced":"2.0.0"},{"fixed":"3.2.0"}],"type":"SEMVER"}],"versions":[],"fixed":["3.2.0"]},{"ecosystem":"npm","name":"@highcharts/dashboards","sources":[{"name":"OSV · GHSA-5ghw-9mgr-jvx2","url":"https://osv.dev/vulnerability/GHSA-5ghw-9mgr-jvx2"}],"ranges":[{"events":[{"introduced":"3.6.0"},{"fixed":"4.0.0"}],"type":"SEMVER"}],"versions":["3.6.0"],"fixed":["4.0.0"]}],"sourceAffected":[],"references":["https://github.com/highcharts/highcharts/security/advisories/GHSA-5ghw-9mgr-jvx2","https://github.com/highcharts/highcharts/commit/52abd4f8f8db87dd20eab7c01444112380e30e98","https://nvd.nist.gov/vuln/detail/CVE-2026-116797","https://github.com/highcharts/highcharts"],"sources":[{"name":"CVE","id":"CVE-2026-116797","modified":"2026-10-28T19:48:29.425Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-116797"},{"name":"OSV","id":"GHSA-5ghw-9mgr-jvx2","modified":"2026-10-28T20:15:05.434231493Z","url":"https://osv.dev/vulnerability/GHSA-5ghw-9mgr-jvx2"}],"assessments":[{"source":"GitHub_M","vector":"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","score":8.5},{"source":"OSV","vector":"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","score":8.5}],"cve":{"records":[{"id":"CVE-2026-116797","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-26T21:53:35.168Z","published":"2026-10-28T17:28:33.128Z","modified":"2026-10-28T19:48:29.425Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-28T17:28:33.128Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-28T19:48:29.425Z"}],"references":[{"url":"https://github.com/highcharts/highcharts/security/advisories/GHSA-5ghw-9mgr-jvx2","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/highcharts/highcharts/commit/52abd4f8f8db87dd20eab7c01444112380e30e98","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-28T17:53:54.731967Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"total"}]}]},"products":[{"vendor":"highcharts","name":"highcharts","platforms":[],"versions":[{"version":">= 2.0.0, < 3.2.0","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-116797"},{"vendor":"@highcharts","name":"grid-pro","platforms":[],"versions":[{"version":">= 2.0.0, < 3.2.0","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-116797"},{"vendor":"@highcharts","name":"dashboards","platforms":[],"versions":[{"version":">= 3.6.0, < 4.0.0","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-116797"}],"remediation":[],"observedAt":"2026-10-29T14:58:04.327Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T08:10:34.534Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-10-28T20:05:31.497Z","attemptedAt":"2026-10-28T20:05:31.497Z"},{"source":"GHSA","status":"available","checkedAt":"2026-10-28T20:05:31.497Z","attemptedAt":"2026-10-28T20:05:31.497Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-28T20:05:30.780Z","attemptedAt":"2026-10-28T20:05:30.780Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-10-28T20:05:31.497Z","attemptedAt":"2026-10-28T20:05:31.497Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2026-112281","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-112281","modified":"Oct 28, 2026, 7:48:29 PM","score":8.5,"vector":"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","checkedAt":"2026-10-28T20:05:30.780Z"},{"source":"NVD","id":"CVE-2026-116797","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116797","modified":"2026-10-28T18:17:14.607","score":8.5,"vector":"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/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","checkedAt":"2026-10-28T20:05:31.497Z"},{"source":"GitHub Advisory Database","id":"GHSA-5ghw-9mgr-jvx2","url":"https://github.com/advisories/GHSA-5ghw-9mgr-jvx2","modified":"2026-10-28T19:56:05Z","checkedAt":"2026-10-28T20:05:31.497Z"}],"aiSummary":{"text":"Highcharts Grid Pro versions 2.0.0 to 3.2.0 are affected by a vulnerability where an attacker controlling the Grid configuration can execute event handlers in the page's origin. Exploitation requires untrusted data in the Grid configuration and user interaction with rendered inputs.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T09:06:37.583Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-116797"},{"name":"OSV","url":"https://osv.dev/vulnerability/GHSA-5ghw-9mgr-jvx2"}]}}