npm
CVE-2026-118249
Highcharts: series column construction writes to Object.prototype
- Severity
- High
- Published
- 28 Oct 2026
- Last changed
- 28 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 13.1.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 30% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Prototype pollution (CWE-1321)
- Also known as
- GHSA-gfvx-2c2g-38wq
- Sources
- OSV.dev and GitHub
Description
When series columns are built from point objects, the point option keys are used directly as data column ids, so the write that populates a column reaches Object.prototype and the Object constructor. Keys named proto and constructor survive JSON.parse as own enumerable properties, so an attacker who controls the point objects can set integer-keyed properties on Object.prototype, one per point index, to values of their choosing. Named properties cannot be reached this way. The integer keys still affect every object in the page: reading an out-of-range index on any array or plain object returns the attacker's value, and for...in over any object yields the injected keys, so unrelated code can take branches it should not using attacker-supplied data, and rendering can fail as a side effect. The properties remain in place once the chart has been built, and no user interaction is required beyond rendering the chart.
Consequences beyond disruption 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.
Live demo & testing
Affected software
| Software | Affected versions |
|---|---|
highchartsnpm · osv:npm:highcharts |
|
About highcharts
- Weekly downloads (npm)
- 3,790,953npm, 23 Nov 2026
Vulnerabilities in highcharts
- In our list
- 6
- Published in the last 12 months
- 6
- Critical, last 12 months
- 0
- High, last 12 months
- 6
- Known exploited
- 0
- CVE-2026-118251Highcharts: `javascript:` URL in credits.href runs script on clickHigh 28 Oct 2026
- CVE-2026-118250Highcharts: dotted series.keys paths write to Object.prototypeHigh 28 Oct 2026
- CVE-2026-118246Highcharts Core: `breadcrumbs.style` keys become SVG event-handler attributesHigh 28 Oct 2026
- CVE-2026-118244Highcharts Core: HTML text parsing falls back to unfiltered `innerHTML` during printingHigh 28 Oct 2026
- CVE-2026-116796Highcharts Core: `javascript:` URL in an `xlink:href` attribute survives text filtering and reaches exported chartsHigh 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-118249
- GitHub Advisory Database https://github.com/advisories/GHSA-gfvx-2c2g-38wq