CVE-2026-118250 — Vulnerability in highcharts — CVE Details
Highcharts: dotted series.keys paths write to Object.prototype
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.50%). Schedule for your next planned update.
Does your project use an affected highcharts version?
Paste your package-lock.json to check it for CVE-2026-118250 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
A dot-separated key path taken from series.keys is followed without filtering the individual segments. An attacker who controls series.keys and the matching point data can use a path such as __proto__.polluted to set arbitrary properties on Object.prototype. The resulting properties are visible to all JavaScript running in the page, not only to the chart. No user interaction is required beyond rendering the chart.
The injected properties are inert until other code on the page reads them, so consequences depend on the consuming application.
Workarounds
Drop-in fix - for any versions affected (6.1.0-13.0.2). Add the below IIFE to run after Highcharts is loaded.
((H)=>{const X = H.isObject;H.Point.prototype.setNestedProperty = function setNestedProperty(t,e,i){let s=i.split(".");return s.some(t=>"__proto__"===t||"constructor"===t)||s.reduce(function(t,i,s,o){let r=o.length-1===s;return t[i]=r?e:X(t[i],!0)?t[i]:{},t[i]},t),t};})(Highcharts);
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@13.1.1. If you load Highcharts from the CDN, use the versioned URLs on code.highcharts.com, for example https://code.highcharts.com/13.1.1/highcharts.js. For more on each installation method, see the installation guide.
Advisory Timeline
- First published October 28, 2026 (29 days ago).
- Last revised October 28, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install highcharts@13.1.0
npm install highcharts@12.6.1
npm install highcharts@11.4.9
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| highcharts npm · Affected: All versions | 13.1.0 |
| highcharts npm · Affected: All versions | 12.6.1 |
| highcharts npm · Affected: All versions | 11.4.9 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:L/SI:L/SA:L
References
- https://github.com/highcharts/highcharts/security/advisories/GHSA-rmqc-xvr3-v46cWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-118250ADVISORY
- https://github.com/highcharts/highcharts/pull/25313WEB
- https://github.com/highcharts/highcharts/commit/fd4ee8140732618bbe71295aba55398fb1f8fa9eWEB
- https://github.com/highcharts/highchartsPACKAGE
- https://github.com/highcharts/highcharts/releases/tag/v13.1.0WEB
Frequently Asked Questions
- What is CVE-2026-118250?
- Highcharts: dotted series.keys paths write to Object.prototype. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2026-118250?
- CVE-2026-118250 affects highcharts. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-118250 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 36.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-118246HIGH
Highcharts Core: `breadcrumbs.style` keys become SVG event-handler attributes
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-118251HIGH
Highcharts: `javascript:` URL in credits.href runs script on click
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution