Install
http-proxy-middleware
The one-liner node.js proxy middleware for connect, express, next.js and more
4.2.2Latest, 15 Nov 2026
131MDownloads, last month
0Advisories on the latest
7Advisories, all versions
MITLicence
11KStars
5.7/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true) CVE-2026-140102 | Fixed in 2.0.12, 3.0.11, 4.2.2 | 1 Dec 2026 |
| Moderate | http-proxy-middleware smuggles a second request when fixRequestBody runs before body arrival CVE-2026-140103 | Fixed in 4.2.1, 3.0.10, 2.0.11 | 1 Dec 2026 |
| Moderate | http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass CVE-2026-55602 | Fixed in 3.0.6, 4.1.0, 2.0.10 | 18 Jun 2026 |
| High | http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody` CVE-2026-55603 | Fixed in 3.0.7, 4.1.1 | 18 Jun 2026 |
| Moderate | http-proxy-middleware can call writeBody twice because "else if" is not used CVE-2025-32996 | Fixed in 2.0.8, 3.0.4 | 15 Apr 2025 |
| Moderate | http-proxy-middleware allows fixRequestBody to proceed even if bodyParser has failed CVE-2025-32997 | Fixed in 2.0.9, 3.0.5 | 15 Apr 2025 |
| High | Denial of service in http-proxy-middleware CVE-2024-21536 | Fixed in 2.0.7, 3.0.3 | 19 Oct 2024 |
In the news
- Problem with http-proxy-middleware and non localhost target stackoverflow.com, 7 Dec 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.