{"answers":{"affected":"6 open source packages ship an affected version, including form-data.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7783 exists.","fix":"Upgrade form-data to a fixed version for your release line: 2.5.4, 3.0.4 or 4.0.4.","what":"CVE-2025-7783 is a critical vulnerability in form-data, published on 18 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-7783 and fix it if it is affected.\n\nWhat it is: CVE-2025-7783 is a critical vulnerability in form-data, published on 18 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7783 exists.\n\nAffected packages and fixed versions:\n- form-data (npm): affected all versions; fixed in 2.5.4\n- form-data (npm): affected all versions; fixed in 2.5.4\n- form-data (npm): affected from 3.0.0; fixed in 3.0.4\n- form-data (npm): affected from 3.0.0; fixed in 3.0.4\n- form-data (npm): affected from 4.0.0; fixed in 4.0.4\n- form-data (npm): affected from 4.0.0; fixed in 4.0.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-7783/ (Markdown: https://insights.sbomify.com/CVE-2025-7783/index.md)","id":"CVE-2025-7783","markdown":"https://insights.sbomify.com/CVE-2025-7783/index.md","name":"CVE-2025-7783","record":{"aliases":["AZL-65606","AZL-65610","CLEANSTART-2026-IW41585","CLEANSTART-2026-VM42011","CLEANSTART-2026-ZB76140","CLSA-2026-1773101683","CLSA-2026-1773188144","CLSA-2026-1774743810","CLSA-2026-1774743825","CLSA-2026-1774743826","CLSA-2026-1776818195","CLSA-2026-1776818216","CLSA-2026-1777941829","CLSA-2026-1781484836","CLSA-2026-1781484855","CLSA-2026-1793098686","DEBIAN-CVE-2025-7783","DLA-4261-1","GHSA-fjxv-7rqg-78g4","MINI-2v53-xxwh-cvqh","MINI-2xvv-8j5j-hhv6","MINI-325f-449p-pwmx","MINI-55hp-h4xf-xmw5","MINI-8xv3-35xx-fjcq","MINI-h87x-q4qr-rgwh","MINI-mxvh-3f4x-63wq","OESA-2025-2204","OESA-2025-2205","OESA-2025-2206","OESA-2025-2207","OESA-2025-2208","OESA-2025-2276","ROOT-APP-NPM-CVE-2025-7783","SUSE-SU-2025:3919-1","UBUNTU-CVE-2025-7783","USN-7976-1","openSUSE-SU-2025:15373-1","openSUSE-SU-2025:15380-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js form-data library","requires_auth":"none","summary":"An attacker can exploit insufficient randomness in boundary generation to perform HTTP Parameter Pollution attacks against applications using this library.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"harborist","cpe":[],"cvss":{"score":9.4,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"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: \u003c 2.5.4, 3.0.0 - 3.0.3, 4.0.0 - 4.0.3.","ecosystems":["SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","npm","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-07-18","github_poc":1,"max_poc_stars":32,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-07-18T16:56:12Z","kind":"github_poc","ref":"https://github.com/benweissmann/CVE-2025-7783-poc","stars":32,"title":"POC of CVE-2025-7783"}],"tier":"weaponised"},"has_fix":true,"headline":"Usage of unsafe random function in form-data for choosing boundary","id":"CVE-2025-7783","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"weak_cryptography","year":"2025"},"n_packages":9,"n_references":2,"next":{"headline":"Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)","id":"CVE-2025-7784"},"packages":[{"ecosystem":"npm","fixed":["2.5.4"],"introduced":["0"],"last_affected":[],"package":"form-data","purl":null,"source":"GHSA-fjxv-7rqg-78g4"},{"ecosystem":"npm","fixed":["2.5.4"],"introduced":["0"],"last_affected":[],"package":"form-data","purl":"pkg:npm/form-data","source":"GHSA-fjxv-7rqg-78g4"},{"ecosystem":"npm","fixed":["3.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"form-data","purl":null,"source":"GHSA-fjxv-7rqg-78g4"},{"ecosystem":"npm","fixed":["3.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"form-data","purl":"pkg:npm/form-data","source":"GHSA-fjxv-7rqg-78g4"},{"ecosystem":"npm","fixed":["4.0.4"],"introduced":["4.0.0"],"last_affected":[],"package":"form-data","purl":null,"source":"GHSA-fjxv-7rqg-78g4"},{"ecosystem":"npm","fixed":["4.0.4"],"introduced":["4.0.0"],"last_affected":[],"package":"form-data","purl":"pkg:npm/form-data","source":"GHSA-fjxv-7rqg-78g4"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["18.20.8-8.41.1"],"introduced":["0"],"last_affected":[],"package":"nodejs18","purl":"pkg:rpm/suse/nodejs18\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:3919-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.5.2-3.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyterlab-templates","purl":"pkg:rpm/opensuse/python-jupyterlab-templates\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15373-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.0.2-21.1"],"introduced":["0"],"last_affected":[],"package":"python-nbdime","purl":"pkg:rpm/opensuse/python-nbdime\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15380-1"}],"prev":{"headline":"WP JobHunt \u003c= 7.7 - Missing Authorization to Authenticated (Candidate+) Stored Cross-Site Scripting via 'status'","id":"CVE-2025-7782"},"products":[],"published":"2025-07-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-03","vendors":[]},"summary":"An attacker can exploit insufficient randomness in boundary generation to perform HTTP Parameter Pollution attacks against applications using this library.","url":"https://insights.sbomify.com/CVE-2025-7783/"}