CVE-2026-118249
Mở trang đầy đủCVSS 7.2 HIGH
Highcharts: series column construction writes to Object.prototype
Mô tả
Impact
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.
;!function(t){if(t&&t.Point&&!t.Point.prototype.protoPollutionPatched){var o=t.Point.prototype,r=o.optionsToObject,e=o.setNestedProperty,n=Object.prototype.hasOwnProperty;o.optionsToObject=function(t){if(t&&"object"==typeof t&&!Array.isArray(t)&&(n.call(t,"__proto__")||n.call(t,"constructor"))){var o={};for(var e in t)n.call(t,e)&&!c(e)&&(o[e]=t[e]);t=o}return r.call(this,t)},o.setNestedProperty=function(t,o,r){return String(r).split(".").some(c)?t:e.call(this,t,o,r)},o.protoPollutionPatched=!0}function c(t){return"__proto__"===t||"constructor"===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.0. If you load Highcharts from the CDN, use the versioned URLs on code.highcharts.com, for example https://code.highcharts.com/13.1.0/highcharts.js. For more on each installation method, see the installation guide.
Điểm và phân loại
- CVSS
- 7.2 HIGH v4.0
- Nguồn điểm
- NVD
- Mức độ (theo nguồn)
- HIGH
- EPSS
- 0.36%
- CWE
- CWE-1321
Vector 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Ảnh hưởng
| Package | Bản bị ảnh hưởng | Bản đã sửa |
|---|---|---|
npm highcharts |
>= 13.0.0, <= 13.0.2 |
13.1.0
|
npm highcharts |
>= 13.0.0, < 13.1.0 |
13.1.0
|
Sản phẩm
- highcharts highcharts
Vì sao bị lọc
- CVSS 7.2 < 8.0 và không thuộc CISA KEV
Loại tác động
Không nhận ra loại tác động nào từ CWE, vector hay mô tả.
Dữ liệu riêng của nguồn
- CVE.org · Đơn vị cấp mã
- GitHub_M
- CVE.org · SSVC
- Tự động hoá được: no · Khai thác: none · Tác động kỹ thuật: partial
- OSV.dev · ID
- GHSA-gfvx-2c2g-38wq
Tham khảo
- https://github.com/advisories/GHSA-gfvx-2c2g-38wq
- https://github.com/highcharts/highcharts/security/advisories/GHSA-gfvx-2c2g-38wq
- https://nvd.nist.gov/vuln/detail/CVE-2026-118249
- https://github.com/highcharts/highcharts/pull/25321
- https://github.com/highcharts/highcharts/commit/d3357705c8f348904441327e32f50ab528c3a205
- https://github.com/highcharts/highcharts/releases/tag/v13.1.0
- https://osv.dev/vulnerability/GHSA-gfvx-2c2g-38wq
- https://github.com/highcharts/highcharts