{"answers":{"affected":"4 open source packages ship an affected version, including http-proxy-middleware. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-32996 in the wild and no public exploit code.","fix":"Upgrade http-proxy-middleware to a fixed version for your release line: 2.0.8 or 3.0.4.","what":"CVE-2025-32996 is a medium-severity vulnerability in chimurai http-proxy-middleware, published on 15 Apr 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-32996 and fix it if it is affected.\n\nWhat it is: CVE-2025-32996 is a medium-severity vulnerability in chimurai http-proxy-middleware, published on 15 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-32996 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- http-proxy-middleware (npm): affected from 1.3.0; fixed in 2.0.8\n- http-proxy-middleware (npm): affected from 1.3.0; fixed in 2.0.8\n- http-proxy-middleware (npm): affected from 3.0.0; fixed in 3.0.4\n- http-proxy-middleware (npm): affected from 3.0.0; fixed in 3.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-32996/ (Markdown: https://insights.sbomify.com/CVE-2025-32996/index.md)","id":"CVE-2025-32996","markdown":"https://insights.sbomify.com/CVE-2025-32996/index.md","name":"CVE-2025-32996","record":{"aliases":["CLEANSTART-2026-CL11266","CLSA-2026-1784077482","GHSA-4www-5p9h-95mh","ROOT-APP-NPM-CVE-2025-32996"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js proxy middleware","requires_auth":"none","summary":"A logic error in http-proxy-middleware allows the response body to be written twice, potentially causing data corruption or unexpected behavior in proxied requests.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"http-proxy-middleware","vendor":"chimurai"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"description":"In http-proxy-middleware before 2.0.8 and 3.x before 3.0.4, writeBody can be called twice because \"else if\" is not used.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"http-proxy-middleware can call writeBody twice because \"else if\" is not used","id":"CVE-2025-32996","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2025"},"n_packages":4,"n_references":4,"next":{"headline":"http-proxy-middleware allows fixRequestBody to proceed even if bodyParser has failed","id":"CVE-2025-32997"},"packages":[{"ecosystem":"npm","fixed":["2.0.8"],"introduced":["1.3.0"],"last_affected":[],"package":"http-proxy-middleware","purl":null,"source":"GHSA-4www-5p9h-95mh"},{"ecosystem":"npm","fixed":["2.0.8"],"introduced":["1.3.0"],"last_affected":[],"package":"http-proxy-middleware","purl":"pkg:npm/http-proxy-middleware","source":"GHSA-4www-5p9h-95mh"},{"ecosystem":"npm","fixed":["3.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"http-proxy-middleware","purl":null,"source":"GHSA-4www-5p9h-95mh"},{"ecosystem":"npm","fixed":["3.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"http-proxy-middleware","purl":"pkg:npm/http-proxy-middleware","source":"GHSA-4www-5p9h-95mh"}],"prev":{"headline":"SQL injection in Vision Helpdesk","id":"CVE-2025-32993"},"products":["http-proxy-middleware"],"published":"2025-04-15","related":[{"cvss_score":8.7,"headline":"Denial of service in http-proxy-middleware","id":"CVE-2024-21536","kev_date_added":null,"published":"2024-10-19"},{"cvss_score":7.5,"headline":"http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody`","id":"CVE-2026-55603","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":6.9,"headline":"http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass","id":"CVE-2026-55602","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":4,"headline":"http-proxy-middleware allows fixRequestBody to proceed even if bodyParser has failed","id":"CVE-2025-32997","kev_date_added":null,"published":"2025-04-15"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-15","vendors":["chimurai"]},"summary":"A logic error in http-proxy-middleware allows the response body to be written twice, potentially causing data corruption or unexpected behavior in proxied requests.","url":"https://insights.sbomify.com/CVE-2025-32996/"}