CVE-2026-116797: Highcharts Grid Pro: cell-renderer `attributes` map written with raw `setAttribute`

Published Oct 28, 2026
·
Updated

Impact The 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.

Workarounds

If your column configuration comes from a source you do not fully control, paste this snippet right after importing the Grid module:

ts const ALLOWEDRENDERERATTRIBUTES = [ 'autofocus', 'checked', 'max', 'maxlength', 'min', 'minlength', 'multiple', 'pattern', 'placeholder', 'size', 'step' ];

const scrubColumn = (column) => { const cells = column?.cells;

for (const renderer of [cells?.renderer, cells?.editMode?.renderer]) { const attributes = renderer?.attributes;

if (attributes) { for (const key of Object.keys(attributes)) { if (!ALLOWEDRENDERERATTRIBUTES.includes(key.toLowerCase())) { delete attributes[key]; } } } }

return column; };

const scrubOptions = (options) => { scrubColumn(options?.columnDefaults); (options?.columns || []).forEach(scrubColumn); return options; };

const proto = Grid.Grid.prototype;

const loadUserOptions = proto.loadUserOptions; proto.loadUserOptions = function (options, ...rest) { scrubOptions(Grid.defaultOptions); return loadUserOptions.call(this, scrubOptions(options), ...rest); };

const updateColumn = proto.updateColumn; proto.updateColumn = function (columnId, options, ...rest) { return updateColumn.call(this, columnId, scrubColumn(options), ...rest); };

Obtaining the patched version The 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.

Other sources

Highcharts JS is a JavaScript charting library based on SVG. From 2.0.0 until 3.2.0, Highcharts Grid Pro input renderers copy the cells.renderer.attributes and cells.editMode.renderer.attributes maps to input or select elements with raw setAttribute calls. An attacker who controls column configuration can add event-handler attributes to every rendered row or to the control created when a cell enters edit mode. Script then runs in the hosting page origin when a user hovers over or focuses an input or begins editing. This issue is fixed in Grid Pro 3.2.0.

— MITRE

Affected Software

5 affected componentsFixes available
Highcharts Grid Pro>=2.0.0<3.2.0
npm/@highcharts/dashboards=3.6.0
4.0.0
npm/@highcharts/grid-pro>=2.0.0<=3.1.0
3.2.0
npm/@highcharts/grid-pro>=2.0.0<3.2.0
3.2.0
npm/@highcharts/dashboards>=3.6.0<4.0.0
4.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@highcharts/dashboards to a version that resolves this vulnerability.

    Fixed in 4.0.0
  2. Upgrade

    Upgrade npm/@highcharts/grid-pro to a version that resolves this vulnerability.

    Fixed in 3.2.0
  3. Upgrade

    Upgrade @highcharts/grid-lite to a version that resolves this vulnerability.

    Fixed in 3.2.0
  4. Compensating control

    If column configuration is not fully trusted, add the provided scrubber immediately after importing the Grid module. It must inspect cells.renderer.attributes and cells.editMode.renderer.attributes and delete every attribute whose name is not in the allowlist: autofocus, checked, max, maxlength, min, minlength, multiple, pattern, placeholder, size, and step.

Event History

Oct 28, 2026
CVE Published
via MITRE·05:28 PM
Data Sourced
via MITRE·05:28 PM
DescriptionWeakness
Data Sourced
via OSV·05:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·07:56 PM
Data Sourced
via GitHub·07:56 PM
DescriptionWeaknessAffected Software
Data Sourced
via OSV·07:56 PM
Affected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using Highcharts Grid Pro versions from 2.0.0 through versions before 3.2.0 are exposed if an attacker can control column configuration, including renderer attribute maps.

2

What does an attacker need to exploit it?

The attacker needs control of cells.renderer.attributes or cells.editMode.renderer.attributes in column configuration. They can supply event-handler attributes that are copied to rendered input or select elements.

3

When does malicious code execute?

Code executes in the hosting page's origin when a user hovers over or focuses an affected input, or when a cell enters edit mode and its control is created.

4

What version fixes the issue?

Grid Pro 3.2.0 fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203