---
title: "CVE-2025-7783: form-data uses unsafe random function in form-data for choosing boundary"
url: https://erroneo.us/security/cve/CVE-2025-7783/
description: "CVE-2025-7783 (form-data (npm)): Use of Insufficiently Random Values vulnerability in form-data allows HTTP Parameter Pollution (HPP). This vulnerability is…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-07-18
date_modified: 2025-11-03
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-7783"
kev: false
cvss: 9.4
epss: 0.0181
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-7783: form-data uses unsafe random function in form-data for choosing boundary

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.8% , percentile 78: FIRST’s model estimates a 1.8% chance of exploitation activity in the next 30 days, higher than 78% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes form-data (npm) < 2.5.4, fixed in 2.5.4 ; form-data (npm) >= 3.0.0, < 3.0.4, fixed in 3.0.4 ; form-data (npm) >= 4.0.0, < 4.0.4, fixed in 4.0.4 . Check your lockfile, including transitive dependencies.

## What it is

Use of Insufficiently Random Values vulnerability in form-data allows HTTP Parameter Pollution (HPP). This vulnerability is associated with program files lib/formdata.Js. This issue affects form-data:

## Affected packages

- npm `form-data` < 2.5.4 → fixed: 2.5.4
- npm `form-data` >= 3.0.0, < 3.0.4 → fixed: 3.0.4
- npm `form-data` >= 4.0.0, < 4.0.4 → fixed: 4.0.4

## Affected products (CVE record)

-  form-data: < 2.5.4, 3.0.0 - 3.0.3, 4.0.0 - 4.0.3

## Severity

- harborist CVSS 4.0: 9.4 `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`
- GitHub CVSS 4.0: 9.4 `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.81% probability of exploitation activity in the next 30 days; percentile 78.

## Sources

- [github.com](https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0)
- [GitHub Advisory GHSA-fjxv-7rqg-78g4](https://github.com/advisories/GHSA-fjxv-7rqg-78g4)
- [CVE.org record CVE-2025-7783](https://www.cve.org/CVERecord?id=CVE-2025-7783)
- [NVD entry CVE-2025-7783](https://nvd.nist.gov/vuln/detail/CVE-2025-7783)
- [github.com](https://github.com/form-data/form-data/security/advisories/GHSA-fjxv-7rqg-78g4)
- [lists.debian.org](https://lists.debian.org/debian-lts-announce/2025/07/msg00023.html)
- [github.com](https://github.com/benweissmann/CVE-2025-7783-poc)

---
Source page: https://erroneo.us/security/cve/CVE-2025-7783/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
