http-proxy-middleware
4.2.2 · 15 Nov 2026MIT30.6M / weekRepositoryHomepagenpmAtom feed
Upgrading http-proxy-middleware From 2.0.5 to 2.0.12
7 releases in betweennotes for 6
Reading releases, release notes and advisories…
- ?
- changes to make
- 4
- advisories fixed
- ?
- new
- 7+
- fixes
Counted from 6 of 7 release notes. Advisories are counted from the advisory database, in full.
Security
Fixes 4 advisories affecting 2.0.5
- 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
htt-proxy-middleware: Harden ws upgrade()
- Fixed
- Fixed
fixRequestBody: Wait for request stream to end
- Fixed
- 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
7 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.