http-proxy-middleware
4.2.2 · 15 Nov 2026MIT30.6M / weekRepositoryHomepagenpmAtom feed
Upgrading http-proxy-middleware From 2.0.0 to 2.0.10
10 releases in betweennotes for 9
Reading releases, release notes and advisories…
- ?
- changes to make
- 4
- advisories fixed
- 1+
- new
- 10+
- fixes
Counted from 9 of 10 release notes. Advisories are counted from the advisory database, in full.
Security
Fixes 4 advisories affecting 2.0.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.