chimurai/http-proxy-middleware · Security
http-proxy-middleware can call writeBody twice because "else if" is not used
- GHSA ID
- GHSA-4www-5p9h-95mh
- CVE ID
- CVE-2025-32996
- Severity
- medium
- Published
- Updated
- CVSS
- 4 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
- CVSS v3
- 4 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
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.
CWEs
- CWE-670 · Always-Incorrect Control Flow Implementation
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-32996 ↗
- https://github.com/chimurai/http-proxy-middleware/pull/1089 ↗
- https://github.com/chimurai/http-proxy-middleware/commit/020976044d113fc0bcbbaf995e91d05e2829a145 ↗
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8 ↗
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.4 ↗
- https://github.com/advisories/GHSA-4www-5p9h-95mh ↗