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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| WebReflection | flatted | < 3.4.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-flatted | 3.4.2~ds-1 | — |
| Debian 13 | node-flatted | 3.2.7~ds-1+deb13u1 | — |
| Debian 12 | node-flatted | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-flatted | No fix yet | — |
| Ubuntu 26.04 LTS | node-flatted | No fix yet | — |
| Ubuntu 25.10 | node-flatted | No fix yet | — |
| Ubuntu 24.04 LTS | node-flatted | No fix yet | — |
| Ubuntu 22.04 LTS | node-flatted | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-flatted | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | js-jquery | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | eslint | 10.1.0-r0 | — |
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | langfuse-3-worker | 3.163.0-r0 | — |
| Wolfi rolling | prism | 5.14.3-r13 | — |
| Wolfi rolling | renovate | 43.84.0-r1 | — |
| Wolfi rolling | sqlpad | 7.5.7-r27 | — |
| Wolfi rolling | vitess-23 | 23.0.3-r9 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | flatted | < 3.4.2 | 3.4.2 | GHSA-rf6f-7fwh-wjgh |
Advisories 2
- WID-SEC-2026-2933 Splunk SOAR: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2026
- WID-SEC-2026-1220 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 7, 2026