{"id":"CVE-2026-118249","kind":"vulnerability","aliases":["CVE-2026-118249","GHSA-gfvx-2c2g-38wq"],"related":[],"title":"Highcharts: series column construction writes to Object.prototype","description":"### Impact\nWhen 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.\n\nConsequences beyond disruption depend on the consuming application.\n\n### Workarounds\nDrop-in fix - for any versions affected (6.1.0-13.0.2).\nAdd the below IIFE to run after Highcharts is loaded.\n\n```javascript\n;!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);\n```\n\n[Live demo & testing](https://jsfiddle.net/BlackLabel/nopc6vhj/)\n\n### Obtaining the patched version\nThe 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](https://www.highcharts.com/docs/getting-started/installation).","summary":"Highcharts JS builds series data columns using point option keys directly as IDs, so crafted __proto__ or constructor keys in parsed chart data can write to Object.prototype. The polluted values then affect reads and for-in loops across the page, disrupting rendering or application logic when a chart is rendered.","severity":"high","cvss":7.2,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"highcharts","fixed":["13.1.0"],"affected":">= 13.0.0, <= 13.0.2","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["cwe-1321","frontend","highcharts","javascript","package","web"],"not_affected_if":["fixed-data-only","version-13.1.0-or-later","version-before-13.0.0"],"how_to_check":"- Run `npm ls highcharts` or inspect the lockfile to find the installed Highcharts version.\n- Search the project for `from 'highcharts'` or `require('highcharts')` to confirm the library is used in a page that renders chart data from parsed input.","fix":"- Upgrade highcharts to `13.1.0` or later.","status":"open","published_at":"2026-10-28T18:17:16+00:00","first_seen_at":"2026-10-28T18:34:34+00:00","triaged_at":"2026-10-28T18:34:54+00:00","updated_at":"2026-10-28T19:56:29+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-28T18:34:54Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade highcharts to `13.1.0` or later.","reach":"internet","title":"Highcharts JS: prototype pollution via point keys alters page behavior","impact":"medium","summary":"Highcharts JS builds series data columns using point option keys directly as IDs, so crafted __proto__ or constructor keys in parsed chart data can write to Object.prototype. The polluted values then affect reads and for-in loops across the page, disrupting rendering or application logic when a chart is rendered.","category":"package","nicknames":[],"who_cares":["javascript","highcharts","frontend","web"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Prototype pollution alters page behavior and may disrupt rendering","analyst_note":"","how_to_check":"- Run `npm ls highcharts` or inspect the lockfile to find the installed Highcharts version.\n- Search the project for `from 'highcharts'` or `require('highcharts')` to confirm the library is used in a page that renders chart data from parsed input.","needs_analyst":false,"not_affected_if":["version-before-13.0.0","version-13.1.0-or-later","fixed-data-only"],"who_is_affected":"Applications that use Highcharts 13.0.0 through 13.1.x to render charts from data parsed from untrusted or external sources are exposed, because the crafted point keys come from that data. Teams on versions before 13.0.0 or on 13.1.0 and later, or who only chart their own fixed data, can skip it.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000617,"input_tokens":3387,"output_tokens":556,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-118249':10A,18A '-1321':21B '-2026':9A,17A '/13.1.0/highcharts.js':402C '/blacklabel/nopc6vhj/)':351C '/docs/getting-started/installation).':415C '0':336C '13.0.2':253C '13.1.0':384C '2c2g':14A '38wq':15A '6.1.0':252C 'across':65B 'add':254C 'affect':58B,158C,251C,371C 'applic':71B,242C 'array':173C 'array.isarray':288C 'attack':124C,179C,203C 'attacker-suppli':202C 'avail':360C 'beyond':231C,236C 'branch':197C 'build':29B 'built':83C,224C 'c':306C,328C,338C 'cannot':149C 'cdn':391C 'channel':366C 'chart':48B,75B,221C,234C 'choos':146C 'code':194C 'code.highcharts.com':397C,401C 'code.highcharts.com/13.1.0/highcharts.js':400C 'column':3A,32B,81C,96C,104C 'consequ':235C 'construct':4A 'constructor':44B,110C,115C,295C,343C 'consum':241C 'control':126C 'craft':41B 'cve':8A,16A 'cwe':20B 'data':31B,49B,95C,205C 'demo':347C 'depend':238C 'direct':37B,93C 'disrupt':68B,237C 'distribut':365C 'drop':245C 'drop-in':244C 'e':276C,300C,305C,307C,309C,311C 'e.call':330C 'effect':213C 'enumer':120C 'everi':159C 'exampl':380C,399C 'fail':209C 'fix':247C 'for-in':61B 'frontend':22B 'function':265C,281C,319C,337C 'gfvx':13A 'ghsa':12A 'ghsa-gfvx-2c2g-38wq':11A 'guid':412C 'highchart':1A,23B,27B,261C,345C,383C,388C 'highcharts':19A 'id':39B,97C 'iif':257C 'impact':78C 'index':141C,170C 'inject':190C 'instal':382C,407C,411C 'integ':133C,155C 'integer-key':132C 'interact':228C 'javascript':24B,264C 'js':28B 'jsfiddle.net':350C 'jsfiddle.net/blacklabel/nopc6vhj/)':349C 'json.parse':117C 'key':36B,45B,90C,111C,134C,156C,191C 'list':377C 'live':346C 'load':263C,387C 'logic':72B 'loop':64B 'method':408C 'n':278C 'n.call':290C,293C,303C 'name':112C,147C 'npm':368C,381C 'o':272C,297C,308C,313C,321C,333C 'o.optionstoobject':275C,280C 'o.protopollutionpatched':335C 'o.setnestedproperty':277C,318C 'object':86C,109C,129C,160C,176C,187C,285C 'object.prototype':7A,53B,106C,137C 'object.prototype.hasownproperty':279C 'obtain':352C 'one':138C 'option':35B,89C 'out-of-rang':166C 'packag':25B,372C 'page':67B,163C 'pars':47B 'patch':354C,357C,375C 'per':139C 'place':218C 'plain':175C 'point':34B,85C,88C,128C,140C 'pollut':55B 'popul':102C 'properti':121C,135C,148C,215C 'proto':42B,113C,292C,341C 'r':274C,322C,325C,334C 'r.call':315C 'rang':169C 'reach':105C,151C 'read':59B,164C 'releas':358C 'remain':216C 'render':69B,77B,207C,232C 'requir':230C 'return':177C,314C,323C,340C 'run':259C 'see':409C 'seri':2A,30B,80C 'set':131C 'side':212C 'split':326C 'still':157C 'string':324C 'suppli':204C 'surviv':116C 't.point':269C 't.point.prototype':273C 't.point.prototype.protopollutionpatched':270C 'take':196C 'test':348C 'typeof':286C 'unrel':193C 'upgrad':369C 'url':395C 'use':33B,92C,201C,392C 'user':227C 'usual':364C 'valu':56B,143C,181C 'var':271C,296C,299C 'version':250C,355C,376C,394C 'way':153C 'web':26B 'workaround':243C 'write':5A,51B,100C 'www.highcharts.com':414C 'www.highcharts.com/docs/getting-started/installation).':413C 'yield':188C","nicknames":[],"mitigations":[],"who_affected":"Applications that use Highcharts 13.0.0 through 13.1.x to render charts from data parsed from untrusted or external sources are exposed, because the crafted point keys come from that data. Teams on versions before 13.0.0 or on 13.1.0 and later, or who only chart their own fixed data, can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-28T18:17:16+00:00","kev":null,"cvss_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","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-118249","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118249","severity":null,"published_at":"2026-10-28T18:17:16+00:00","modified_at":"2026-10-28T18:17:16+00:00","first_seen_at":"2026-10-28T18:34:34+00:00","fetched_at":"2026-10-28T18:34:34+00:00","note":null},{"source":"ghsa","external_id":"GHSA-gfvx-2c2g-38wq","url":"https://github.com/advisories/GHSA-gfvx-2c2g-38wq","severity":"high","published_at":"2026-10-28T19:56:13+00:00","modified_at":"2026-10-28T19:56:15+00:00","first_seen_at":"2026-10-28T19:56:29+00:00","fetched_at":"2026-10-28T19:56:29+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}