CVE-2025-32996: http-proxy-middleware can call writeBody twice because "else if" is not used
(updated )
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.
References
- github.com/advisories/GHSA-4www-5p9h-95mh
- github.com/chimurai/http-proxy-middleware
- github.com/chimurai/http-proxy-middleware/commit/020976044d113fc0bcbbaf995e91d05e2829a145
- github.com/chimurai/http-proxy-middleware/pull/1089
- github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8
- github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.4
- nvd.nist.gov/vuln/detail/CVE-2025-32996
Code Behaviors & Features
Detect and mitigate CVE-2025-32996 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →