What’s Vulnerable › Vulnerabilities

CVE-2025-7783: Usage of unsafe random function in form-data for choosing boundary

Description

Use of Insufficiently Random Values vulnerability in form-data allows HTTP Parameter Pollution (HPP). This vulnerability is associated with program files lib/form_data.Js. This issue affects form-data: < 2.5.4, 3.0.0 - 3.0.3, 4.0.0 - 4.0.3.

Affected products

How to fix

Upgrade to a fixed version: Npm Form-Data 2.5.4, 3.0.4, 4.0.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-7783 or the next vulnerability affects your stack