CVE-2026-33228CRITICAL 9.8EPSS p44.6%
CVE-2026-33228CVE-2026-33228
Description
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.
Scoring
| CVSS 3.1 | 9.8 (CRITICAL) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.61% probability of exploitation · percentile 44.6% · 2026-06-18T12:00:27Z |
| Published | 2026-03-20 |
| Last modified | 2026-03-23 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')cwe-1321 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.