{"id":"CVE-2026-33228","published":"2026-03-20T23:06:48Z","modified":"2026-09-07T12:05:12Z","title":"flatted: Prototype Pollution via parse()","vendor":"WebReflection","product":"flatted","tier":"tail","description":{"text":"flatted is a circular JSON parser. Prior to version 3.4.2, the parse() function in flatted can use attacker-controlled string values from the parsed JSON as direct array index keys, without validating that they are numeric. Since the internal input buffer is a JavaScript Array, accessing it with the key \"__proto__\" returns Array.prototype via the inherited getter. This object is then treated as a legitimate parsed value and assigned as a property of the output object, effectively leaking a live reference to Array.prototype to the consumer. Any code that subsequently writes to that property will pollute the global prototype. This issue has been patched in version 3.4.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00938,"percentile":0.61753,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/WebReflection/flatted/security/advisories/GHSA-rf6f-7fwh-wjgh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WebReflection/flatted/commit/885ddcc33cf9657caf38c57c7be45ae1c5272802","tags":["x_refsource_MISC"]},{"url":"https://github.com/WebReflection/flatted/releases/tag/v3.4.2","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33228","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2449872","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33228.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:34342","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:9742","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13826","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":12.35},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"webreflection","affectedVersions":[{"vendor":"WebReflection","product":"flatted","versions":["< 3.4.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-24T17:35:34.197834Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"flatted","vulnerableRanges":["<3.4.2"],"patched":["3.4.2"],"from":["GHSA-rf6f-7fwh-wjgh"],"provenance":"source"}],"summary":{"text":"The flaw is a prototype pollution issue in the parse() function of the flatted circular JSON parser, where attacker-controlled string values from parsed JSON are used unvalidated as array index keys, allowing a reference to Array.prototype to leak into the output object.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:01Z"},"euvd":{"id":"EUVD-2026-13881","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-webreflection-flatted-cve-2026-32141","parents":[{"from":"CVE-2026-32141","to":"CVE-2026-33228","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:flatted","fromFixed":"3.4.0","toFixed":"3.4.2","daysApart":8},{"kind":"same-code","provenance":"machine","files":["cjs/index.js","es.js","esm.js","esm/index.js","index.js"],"commits":["https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606","https://github.com/WebReflection/flatted/commit/885ddcc33cf9657caf38c57c7be45ae1c5272802"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.35,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-32141","published":"2026-03-12","fixed":"3.4.0","kev":false},{"cve":"CVE-2026-33228","published":"2026-03-20","fixed":"3.4.2","kev":false}],"package":"npm:flatted"}}