PT-2026-41772 · Milamer+1 · Parse-Nested-Form-Data

0Xbassia

·

Published

2026-05-18

·

Updated

2026-06-01

·

CVE-2026-45302

CVSS v3.1

8.2

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Name of the Vulnerable Software and Affected Versions parse-nested-form-data versions prior to 1.0.1
Description The parseFormData() function processes bracket and dot-notation FormData field names into nested objects without filtering reserved property keys. An attacker can use a FormData field name that begins with proto or contains . proto . mid-path to cause the parser to traverse onto Object.prototype and assign properties there. This results in prototype pollution, where the prototype chain of every plain object in the running process is contaminated. The issue resides in the handlePathPart() function within src/index.ts, which fails to reject reserved keys during object-type path segment processing. This can lead to corrupted application state, altered control flow, or denial of service in applications that process attacker-controlled FormData, such as HTTP servers.
Recommendations Update to version 1.0.1. As a temporary workaround, validate field names to ensure they do not contain proto, constructor, or prototype before calling the parseFormData() function.

Fix

Prototype Pollution

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-45302
GHSA-XP7R-J8R6-J9H3

Affected Products

Parse-Nested-Form-Data