MediumGHSA-4www-5p9h-95mhCVE-2025-32996
http-proxy-middleware can call writeBody twice because "else if" is not used
Published 15 Apr 2025 · Updated 10 Sept 2026
Affected packages
- Affected
- >=1.3.0 <2.0.8
- Fixed in
- 2.0.8
Update to the fixed version for your release line, for example:
npm install http-proxy-middleware@2.0.8- Affected
- >=3.0.0 <3.0.4
- Fixed in
- 3.0.4
Update to the fixed version for your release line, for example:
npm install http-proxy-middleware@3.0.4Details
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.
Is GHSA-4www-5p9h-95mh in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected http-proxy-middleware, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-32996
- Linkgithub.com/chimurai/http-proxy-middleware/pull/1089
- Linkgithub.com/chimurai/http-proxy-middleware/commit/020976044d113fc0bcbbaf995e91d05e2829a145
- Packagegithub.com/chimurai/http-proxy-middleware
- Linkgithub.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8
- Linkgithub.com/chimurai/http-proxy-middleware/releases/tag/v3.0.4
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.