Prototype Pollution in Joaonuno Flat-To-Nested-Js
CVE-2026-55091
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.
Vulnerability class: Mass Assignment
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.005 (42.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Joaonuno Flat-To-Nested-Js — versions < 1.1.2
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-55091?
- CVE-2026-55091 is a high-severity vulnerability in Joaonuno Flat-To-Nested-Js, classified under Improperly Controlled Modification of Dynamically-Determined Object Attributes. CVSS score: 7.5/10. Published 2026-09-14.
- How severe is CVE-2026-55091?
- High severity. CVSS v3 base score is 7.5 out of 10.