Insecure service configuration In http-proxy-middleware

Description

http-proxy-middleware can call writeBody twice because "else if" is not used In http-proxy-middleware before 2.0.8 and 3.x before 3.0.4, writeBody can be called twice because "else if" is not used.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions