CVE-2026-33228Webreflection Flatted
High 8.9 No auth needed
Follow: this CVE · Webreflection · Webreflection Flatted We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 4.0
- 8.9
- EPSS
- —
- Auth required
- No
- Published
- Mar 20, 2026
- Updated
- Sep 4, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- 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/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
What happens
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.
What to do
- Apply the vendor's security update for Flatted.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | flatted |
< 3.4.2 |
3.4.2 |
npm install flatted@3.4.2 |
Per OSV / GitHub Advisories (GHSA-rf6f-7fwh-wjgh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| webreflection | flatted | < 3.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product
- github.com Exploit Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com