Skip to main content
EPSS 0.8%top 45%

CVE-2026-33228: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in WebReflection flatted

0
High
VulnerabilityCVE-2026-33228cvecve-2026-33228cwe-1321gcvecwe-915
Published: 03/20/2026 (03/20/2026, 23:06:48 UTC)
Source: CVE Database V5
Vendor/Project: WebReflection
Product: flatted

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.

CVSS v4.0

Score 8.9high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

WebReflection

flatted

Affected versions
<3.4.2
flatted
pkg:npm/flatted
Affected versions
<3.4.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 13:16:32 UTC

Technical Analysis

The vulnerability in WebReflection's flatted library arises because the parse() function accepts string keys from JSON input as direct array indices without numeric validation. Since the internal buffer is a JavaScript Array, accessing it with the key "__proto__" returns the Array.prototype object. This object is then assigned as a property of the output object, leaking a live reference to Array.prototype. Subsequent writes to this property result in prototype pollution, enabling attackers to modify global prototype attributes. This can lead to arbitrary code execution or denial of service. The flaw is fixed in flatted version 3.4.2.

Potential Impact

An unauthenticated remote attacker can exploit this vulnerability by providing specially crafted JSON input to the flatted parser, causing prototype pollution. This can result in arbitrary code execution or denial of service, impacting the confidentiality, integrity, and availability of affected systems. Products that use flatted versions prior to 3.4.2 and process untrusted JSON data are at risk if they do not sanitize input properly.

Mitigation Recommendations

A fix is available in flatted version 3.4.2. Users and vendors should upgrade to version 3.4.2 or later to remediate this vulnerability. Red Hat has issued advisories and is working on fixes for affected products that incorporate the flatted library. Until patched, avoid processing untrusted JSON data with vulnerable versions or apply input sanitization to prevent prototype pollution.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-18T02:42:27.507Z
Cvss Version
4.0
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-33228","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:9742","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13826","vendor":"Red Hat"}]

Threat ID: 69bdd4681188d0bb0cbbf673

Added to database: 03/20/2026, 23:12:40 UTC

Last enriched: 08/17/2026, 13:16:32 UTC

Last updated: 09/17/2026, 17:36:06 UTC

Views: 281

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses