SCA: security update for flatted (GHSA-rf6f-7fwh-wjgh)

critical Tenable Cloud Security Plugin ID 472850

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-33228)

Solution

Update the flatted library and its related packages to version 3.4.2 or later.

See Also

https://github.com/advisories/GHSA-rf6f-7fwh-wjgh

Plugin Details

Severity: Critical

ID: 472850

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/5/2026

Updated: 10/5/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.29

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-33228

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.9

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/19/2026

Vulnerability Publication Date: 3/19/2026

Reference Information

CVE: CVE-2026-33228