Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. parse-nested-form-data
  4. ›
  5. CVE-2026-45302

CVE-2026-45302: parse-nested-form-data has Prototype Pollution via `__proto__` in FormData field names

May 18, 2026

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 →

Affected versions

All versions before 1.0.1

Fixed versions

  • 1.0.1

Solution

Upgrade to version 1.0.1 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/parse-nested-form-data/CVE-2026-45302.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 22 May 2026 00:19:58 +0000.