๐Ÿ” CVE Alert

CVE-2026-55091

HIGH 7.5

flat-to-nested: Prototype pollution in flat-to-nested convert() via __proto__ parent/id key

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

flat-to-nested converts a hierarchy from a flat representation to a nested representation. Prior to 1.1.2, FlatToNested.prototype.convert in index.js uses attacker-influenced id and parent record fields directly as keys in the plain temp and pendingChildOf objects. When parent or id is __proto__, temp[parent] can resolve to Object.prototype, and initPush() can write attacker-controlled data to the global children prototype property while existing prototype methods remain intact. Any application that passes attacker-influenced flat records to convert() can therefore expose unrelated objects to polluted inherited state, causing application-logic corruption or denial of service and potentially enabling greater impact when a downstream prototype-pollution gadget is present. The constructor and prototype strings are also unsafe inherited-key values in the same lookup design. This issue is fixed in version 1.1.2.

CWE CWE-915 CWE-1321
Vendor joaonuno
Product flat-to-nested-js
Published Sep 14, 2026
Last Updated Sep 14, 2026
Stay Ahead of the Next One

Get instant alerts for joaonuno flat-to-nested-js

Be the first to know when new high vulnerabilities affecting joaonuno flat-to-nested-js are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

joaonuno / flat-to-nested-js
< 1.1.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/joaonuno/flat-to-nested-js/security/advisories/GHSA-hp36-v28f-w3r4 github.com: https://github.com/joaonuno/flat-to-nested-js/commit/680a5ebe1194edda16fa93baaa56ff14fe0e3d7f github.com: https://github.com/joaonuno/flat-to-nested-js/releases/tag/v1.1.2