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

- Severity: Critical 9.4 (CVSS:4.0, scored by harborist) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.81%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-07-18T16:34:44.889Z
- Modified: 2026-09-10T03:50:57.924Z
- Also known as: GHSA-fjxv-7rqg-78g4
- Weaknesses: CWE-330
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: harborist

## 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.

(As written by CVE List.)

## Affected

- form-data: < 2.5.4; 3.0.0 - 3.0.3; 4.0.0 - 4.0.3
- form-data (npm): before 2.5.4; from 3.0.0 before 3.0.4; from 4.0.0 before 4.0.4

## Every score

- harborist: CVSS:4.0 9.4 Critical `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 Critical `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`

## References

- <https://github.com/form-data/form-data/security/advisories/GHSA-fjxv-7rqg-78g4> (exploit, third-party-advisory, web)
- <https://github.com/benweissmann/CVE-2025-7783-poc> (exploit, web)
- <https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0> (patch, web)
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00023.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-7783> (advisory)
- <https://github.com/form-data/form-data> (package)

## Sources

- CVE List: [CVE-2025-7783](https://www.cve.org/CVERecord?id=CVE-2025-7783), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-fjxv-7rqg-78g4](https://github.com/advisories/GHSA-fjxv-7rqg-78g4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-7783](https://nvd.nist.gov/vuln/detail/CVE-2025-7783), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-7783 · Whole record: https://cve.day/CVE-2025-7783.json · Rebuilt by cve.day 2026-11-25T22:59:01.423Z
