Vulnerability GHSA-4www-5p9h-95mh
Medium Risk
MEDIUM RISK
CVSS Score: 4.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
1 year ago
April 15, 2025 at 03:30 AM UTC
http-proxy-middleware can call writeBody twice because "else if" is not used
1.3.0 - 2.0.7 and 3.0.0 - 3.0.3
1.3.0 - 2.0.7 and 3.0.0 - 3.0.3
Summary
http-proxy-middleware can call writeBody twice because "else if" is not used
Details
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.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
High Risk
16 hours ago
http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)
0.8.0 - 2.0.11 and 3.0.0-beta.0 - 3.0.10 and 4.0.0-beta.0 - 4.2.1 GHSA-hvp5-3mrg-q5hg
0.8.0 - 2.0.11 and 3.0.0-beta.0 - 3.0.10 and 4.0.0-beta.0 - 4.2.1 GHSA-hvp5-3mrg-q5hg
Medium Risk
17 hours ago
http-proxy-middleware smuggles a second request when fixRequestBody runs before body arrival
2.0.9 - 2.0.10 and 3.0.5 - 3.0.7 and 4.0.0-beta.0 - 4.2.0 GHSA-vp89-2qrg-8fwc
2.0.9 - 2.0.10 and 3.0.5 - 3.0.7 and 4.0.0-beta.0 - 4.2.0 GHSA-vp89-2qrg-8fwc
High Risk
5 months ago
http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody`
3.0.4 - 3.0.6 and 4.0.0 - 4.1.0 GHSA-gcq2-9pq2-cxqm
3.0.4 - 3.0.6 and 4.0.0 - 4.1.0 GHSA-gcq2-9pq2-cxqm
Medium Risk
5 months ago
http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass
0.16.0 - 2.0.10-beta.0 and 3.0.0 - 3.0.5 and 4.0.0 - 4.1.0-beta.2 GHSA-64mm-vxmg-q3vj
0.16.0 - 2.0.10-beta.0 and 3.0.0 - 3.0.5 and 4.0.0 - 4.1.0-beta.2 GHSA-64mm-vxmg-q3vj
Medium Risk
1 year ago
http-proxy-middleware allows fixRequestBody to proceed even if bodyParser has failed
1.3.0 - 2.0.8 and 3.0.0 - 3.0.4 GHSA-9gqv-wp59-fq42
1.3.0 - 2.0.8 and 3.0.0 - 3.0.4 GHSA-9gqv-wp59-fq42
Impacted packages
Timeline
Published
1 year ago
April 15, 2025 at 03:30 AM UTC
Fixed (2.0.8)
1 year ago
April 09, 2025 at 07:34 PM UTC
Fixed (3.0.4)
1 year ago
April 09, 2025 at 07:36 PM UTC
Last Modified
2 months ago
September 10, 2026 at 03:50 AM UTC