CVE-2026-118254: Highcharts Grid parses pagination language options as HTML

Published Oct 28, 2026
·
Updated

Impact The pagination language strings are written into the DOM as markup rather than as text. An attacker who controls those language options can supply elements carrying event handlers, and those handlers execute in the origin of the page hosting the Grid when the pagination controls render. Exploitation requires that untrusted data reach the Grid language configuration and that pagination be enabled on the Grid.

Workarounds Run this once after loading the Grid, before creating any grid: javascript { const Pagination = Grid.Pagination;

const escapeLang = (pagination) => { const lang = pagination.lang; if (!lang) { return; }

for (const key of ['pageInfo', 'pageSizeLabel']) { if (typeof lang[key] === 'string') { lang[key] = lang[key].replace(/</g, '&lt;'); } } };

for (const name of ['updatePageInfo', 'renderPageSizeSelector']) { const original = Pagination.prototype[name];

Pagination.prototype[name] = function (...args) { escapeLang(this); return original.apply(this, args); }; } }

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 writes pagination language strings into the DOM as markup instead of text. An attacker who controls the Grid language configuration can provide elements with event handlers, which execute in the hosting page origin when pagination controls render. Exploitation requires pagination to be enabled but does not require additional user interaction. This issue is fixed in 3.2.0.

— MITRE

Affected Software

5 affected componentsFixes available
Highcharts Highcharts Grid>=2.0.0<3.2.0
npm/@highcharts/grid-pro>=2.0.0<=3.1.0
3.2.0
npm/@highcharts/grid-lite>=2.0.0<=3.1.0
3.2.0
npm/@highcharts/grid-lite>=2.0.0<3.2.0
3.2.0
npm/@highcharts/grid-pro>=2.0.0<3.2.0
3.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3.2.0
  2. Upgrade

    Upgrade npm/@highcharts/grid-lite 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

    After loading Highcharts Grid and before creating any grid, escape the pagination language strings in pagination.lang.pageInfo and pagination.lang.pageSizeLabel by replacing '<' with '&lt;'.

Event History

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

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Highcharts Grid versions from 2.0.0 up to, but not including, 3.2.0 are affected when pagination is enabled. Deployments that do not enable pagination do not meet the stated exploitation condition.

2

What level of attacker control is required?

An attacker must be able to control Grid language configuration values used for pagination. No additional user interaction is required once the pagination controls render.

3

What can be done if an immediate upgrade is not possible?

Disable pagination to remove the stated condition required for exploitation, and ensure untrusted parties cannot control Grid language configuration strings. Upgrade to Highcharts Grid 3.2.0 when possible.

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