Vulnerability

CVE-2026-55091

highCVSS 3.1 7.5Published 14 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /joaonuno/flat-to-nested-js/commit/680a5ebe1194edda16fa93ba…
  • github.com /joaonuno/flat-to-nested-js/releases/tag/v1.1.2
  • github.com /joaonuno/flat-to-nested-js/security/advisories/GHSA-hp36-v…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning