Skip to content

CVE-2025-32996 http-proxy-middleware can call writeBody twice because "else if" is not used

MediumCVSS 5.3 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
chimurai http-proxy-middleware < 2.0.8; >= 3.0.0, < 3.0.4 2.0.8, 3.0.4 Fixed
npm http-proxy-middleware(npm) >= 1.3.0, < 2.0.8; >= 3.0.0, < 3.0.4 2.0.8, 3.0.4 Fixed

Affected products

ProductAffected versionsFixed in
npm http-proxy-middleware(npm) >= 3.0.0, < 3.0.4 3.0.4
npm http-proxy-middleware(npm) >= 1.3.0, < 2.0.8 2.0.8
chimurai http-proxy-middleware < 2.0.8 2.0.8
chimurai http-proxy-middleware >= 3.0.0, < 3.0.4 3.0.4

References