CVE-2026-33228CWE-1321CWE-915

CVE-2026-33228

Critical · published March 21, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
69.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01282 · 69.9th percentile
Weaknesses
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'); CWE-915 · Improperly Controlled Modification of Dynamically-Determined Object Attributes
Published
2026-03-21T03:16Z
Affected products (1)
ProductVersionsFixed in
webreflection/flatted< 3.4.23.4.2
References (9)
EPSS history
Timeline
  • 20 MAR 23:06Z
    flatted: Prototype Pollution via parse()
    cvelistv5