CVE-2026-71437: Prototype Pollution Nested Object Assignment

Dynamically initializing and indexing nested object properties using unvalidated keys can lead to prototype pollution if a key equals `__proto__` or `constructor`. Use `Map`, `Object.create(null)`, or sanitize property keys.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-71437-prototype-pollution-nested-object-assignment --engine opengrep

Description

Dynamically initializing and indexing nested object properties using unvalidated keys can lead to prototype pollution if a key equals `__proto__` or `constructor`. Use `Map`, `Object.create(null)`, or sanitize property keys.