http-proxy-middleware
4.2.2 · 15 Nov 2026MIT30.6M / weekRepositoryHomepagenpmAtom feed
Upgrading http-proxy-middleware From 1.3.0 to 2.0.10
12 releases in betweennotes for 11
Reading releases, release notes and advisories…
Counted from 11 of 12 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking2.0.0
Security
Fixes 4 advisories affecting 1.3.0
- http-proxy-middleware can call writeBody twice because "else if" is not usedmoderate · GHSA-4www-5p9h-95mh
- http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypassmoderate · GHSA-64mm-vxmg-q3vj
- http-proxy-middleware allows fixRequestBody to proceed even if bodyParser has failedmoderate · GHSA-9gqv-wp59-fq42
- Denial of service in http-proxy-middlewarehigh · GHSA-c7qv-q95q-8v27
Release by release
- Fixed
Harden proxy-table matching to prevent routing bypass
- Fixed
- Fixed
fixRequestBody: Check readableLength
- Fixed
- Fixed
fixRequestBody: Prevent multiple .write() calls
- Fixed
fixRequestBody: Handle invalid request
- Fixed
2.0.7no release note
- Fixed
proxyReqWs: Catch socket errors
- Fixed
- Fixed
error handler: Add default handler to econnreset
- Fixed
- Fixed
fix-request-body: Improve content type check
- Fixed
- New
package: Optional @types/express peer dependency
- New
31 internal lines (docs, tests, tooling) left out.
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.