CVE-2026-45302: parse-nested-form-data has Prototype Pollution via `__proto__` in FormData field names
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.
References
- github.com/advisories/GHSA-xp7r-j8r6-j9h3
- github.com/milamer/parse-nested-form-data/commit/527ad58eb486e32438f7198fb88315c20449d792
- github.com/milamer/parse-nested-form-data/releases/tag/v1.0.1
- github.com/milamer/parse-nested-form-data/security/advisories/GHSA-xp7r-j8r6-j9h3
- nvd.nist.gov/vuln/detail/CVE-2026-45302
Code Behaviors & Features
Detect and mitigate CVE-2026-45302 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →