Packages / http-proxy-middleware / Security
ModerateVulnerabilityGHSA-4www-5p9h-95mhCVE-2025-32996Published 15 Apr 2025
http-proxy-middleware can call writeBody twice because "else if" is not used
Your version
Affected releases · http-proxy-middleware
- 3.x3.0.0 – 3.0.3Fixed in 3.0.4
- 2.x2.0.0 – 2.0.7Fixed in 2.0.8
- 1.x1.3.0 – 1.3.1No fix on this line yet
On 3.x, the newest line:
npm install http-proxy-middleware@3.0.4Every release on a timeline
4.x
Not affected
4.0.0 – 4.2.2
6 releases, latest
3.x
Affected
3.0.0 – 3.0.3
4 releases
Fixed
3.0.4 – 3.0.11
6 releases
2.x
Affected
2.0.0 – 2.0.7
8 releases
Fixed
2.0.8 – 2.0.12
5 releases
1.x
Not affected
1.0.0 – 1.2.1
12 releases
Affected
1.3.0 – 1.3.1
2 releases
What happens
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.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.