PT-2025-30061
CVE-2025-7783
·
Published
2025-07-18
·
Updated
2026-09-29
Description by
CVSS 4.0
9.4
CriticalMetricsAV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions
form-data versions < 2.5.4
form-data versions 3.0.0 through 3.0.3
form-data versions 4.0.0 through 4.0.3
Description
A vulnerability exists in the form-data JavaScript library due to the use of insufficiently random values when generating boundary values for multipart form-encoded data. This predictability allows attackers to manipulate HTTP requests, potentially injecting malicious parameters into backend systems. The vulnerability arises from the library utilizing the
Math.random() function, which is known to be pseudo-random and predictable. An attacker who can observe Math.random() values generated by the application can predict future values, including the boundary value, and craft a malicious payload. This can lead to HTTP Parameter Pollution (HPP) and potentially remote code execution (RCE). The vulnerability requires the application to use form-data with user-controlled data and expose Math.random() values.Recommendations
Update to form-data version 4.0.4.
Update to form-data version 3.0.4.
Update to form-data version 2.5.4.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾