Live threats

All CVEs / Webreflection

CVE-2026-33228Webreflection Flatted

High 8.9 No auth needed

Priority
68
CVSS 4.0
8.9
EPSS
—
Auth required
No
Published
Mar 20, 2026
Updated
Sep 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321, CWE-915
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flatted.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
webreflectionflatted< 3.4.2

Official sources

References

Links published by the sources. Open them with care.