Intel

AIKIDO-2025-10183

decode-formdata is vulnerable to Prototype Pollution

Prototype Pollution Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 26, 2025

55

Medium Risk

This Affects:

JSdecode-formdata
0.1.0 - 0.8.0
Fixed in 0.9.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to prototype pollution, allowing an attacker to inject properties into an object's prototype when decoding an object containing a __proto__ property using the decode function of the decode-formdata library. This can lead to unauthorized access, privilege escalation, and unpredictable application behavior due to bypassed permission checks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

decode-formdata is vulnerable to Prototype Pollution in versions 0.1.0 - 0.8.0.

How to fix this

Upgrade the decode-formdata library to the patch version.