CVE-2026-118254: Highcharts Grid parses pagination language options as HTML
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.
Published Oct 28, 2026
Affected packages
@highcharts/grid-lite
- Ecosystem
- npm
- Affected
- >= 2.0.0, <= 3.1.0
- Fixed in
- 3.2.0
- Check
npm ls @highcharts/grid-lite
@highcharts/grid-pro
- Ecosystem
- npm
- Affected
- >= 2.0.0, <= 3.1.0
- Fixed in
- 3.2.0
- Check
npm ls @highcharts/grid-pro
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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:
{
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, '<');
}
}
};
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/[email protected]. If you load Highcharts Grid from a CDN, use a versioned URL, for example https://cdn.jsdelivr.net/npm/@highcharts/[email protected]/grid-lite.js. For more on each installation method, see the installation guide.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-116797
Highcharts Grid Pro: cell-renderer `attributes` map written with raw `setAttribute`
high8.5Oct 28, 2026CVE-2026-118242
Highcharts Grid: custom icon definition objects written with raw `setAttribute` on `<path>`
high8.5Oct 28, 2026CVE-2026-118247
Highcharts Dashboards / Grid Pro: `DataTable.setCell` and column writers treat `__proto__` as an existing column.
medium6.9Oct 28, 2026CVE-2026-118255
Highcharts Grid: `javascript:` URL in credits.href runs script on click
high8.4Oct 28, 2026
