Description
parse-nested-form-data is a tiny node module for parsing FormData by name into objects and arrays. Prior to version 1.0.1, parseFormData() walks bracket and dot-notation FormData field names into nested objects without filtering reserved property keys. A single FormData field whose name begins with __proto__, or contains .__proto__. mid-path, causes the parser to traverse onto Object.prototype and assign properties there, polluting the prototype chain of every plain object in the running process. This issue has been patched in version 1.0.1.
Problem types
CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Product status
References
github.com/...m-data/security/advisories/GHSA-xp7r-j8r6-j9h3
github.com/...m-data/security/advisories/GHSA-xp7r-j8r6-j9h3
github.com/...ommit/527ad58eb486e32438f7198fb88315c20449d792
github.com/...mer/parse-nested-form-data/releases/tag/v1.0.1