{"id":"CVE-2025-7783","state":"PUBLISHED","title":"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.\n\nThis issue affects form-data: < 2.5.4, 3.0.0 - 3.0.3, 4.0.0 - 4.0.3.","publishedAt":"2025-07-18T16:34:44.889Z","updatedAt":"2025-11-03T20:07:41.307Z","severity":{"score":9.4,"label":"Critical","version":"4.0","vector":"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","source":"harborist"},"assigner":"harborist","products":["form-data"],"affected":[{"packageName":"form-data","defaultStatus":"unaffected","versions":[{"version":"< 2.5.4","status":"affected","versionType":"semver"},{"version":"3.0.0 - 3.0.3","status":"affected","versionType":"semver"},{"version":"4.0.0 - 4.0.3","status":"affected","versionType":"semver"}],"collectionURL":"https://npmjs.com/form-data","programFiles":["lib/form_data.js"],"repo":"https://github.com/form-data/form-data"}],"references":["https://github.com/form-data/form-data/security/advisories/GHSA-fjxv-7rqg-78g4","https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0","https://lists.debian.org/debian-lts-announce/2025/07/msg00023.html"],"weaknesses":["CWE-330"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/7xxx/CVE-2025-7783.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-7783","state":"PUBLISHED","datePublished":"2025-07-18T16:34:44.889Z","dateUpdated":"2025-11-03T20:07:41.307Z","assignerShortName":"harborist","assignerOrgId":"7ffcee3d-2c14-4c3e-b844-86c6a321a158","dateReserved":"2025-07-18T04:34:56.939Z"},"containers":{"cna":{"title":"Usage of unsafe random function in form-data for choosing boundary","descriptions":[{"lang":"en","value":"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.\n\nThis issue affects form-data: < 2.5.4, 3.0.0 - 3.0.3, 4.0.0 - 4.0.3."}],"affected":[{"packageName":"form-data","defaultStatus":"unaffected","versions":[{"version":"< 2.5.4","status":"affected","versionType":"semver"},{"version":"3.0.0 - 3.0.3","status":"affected","versionType":"semver"},{"version":"4.0.0 - 4.0.3","status":"affected","versionType":"semver"}],"collectionURL":"https://npmjs.com/form-data","programFiles":["lib/form_data.js"],"repo":"https://github.com/form-data/form-data"}],"references":[{"url":"https://github.com/form-data/form-data/security/advisories/GHSA-fjxv-7rqg-78g4","tags":["third-party-advisory"]},{"url":"https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.4,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-330","description":"CWE-330 Use of Insufficiently Random Values","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"harborist","orgId":"7ffcee3d-2c14-4c3e-b844-86c6a321a158","dateUpdated":"2025-07-18T16:34:44.889Z"},"credits":[{"lang":"en","type":"reporter","value":"https://github.com/benweissmann"},{"lang":"en","type":"remediation developer","value":"https://github.com/benweissmann"},{"lang":"en","type":"remediation reviewer","value":"https://github.com/ljharb"}],"impacts":[{"capecId":"CAPEC-460","descriptions":[{"lang":"en","value":"CAPEC-460 HTTP Parameter Pollution (HPP)"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/form-data/form-data/security/advisories/GHSA-fjxv-7rqg-78g4","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-22T14:54:27.721309Z","id":"CVE-2025-7783","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-22T14:54:31.105Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00023.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:07:41.307Z"}}]}}}