VDB
Sign up
MEDIUM4.0

GHSA-9gqv-wp59-fq42

http-proxy-middleware allows fixRequestBody to proceed even if bodyParser has failed

Quick fix

GHSA-9gqv-wp59-fq42 — http-proxy-middleware: upgrade to the fixed version with the command below.

npm install http-proxy-middleware@2.0.9

Details

In http-proxy-middleware before 2.0.9 and 3.x before 3.0.5, fixRequestBody proceeds even if bodyParser has failed.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/http-proxy-middleware
Introduced in: 1.3.0Fixed in: 2.0.9
Fixnpm install http-proxy-middleware@2.0.9
npm/http-proxy-middleware
Introduced in: 3.0.0Fixed in: 3.0.5
Fixnpm install http-proxy-middleware@3.0.5

References