In http-proxy-middleware before 2
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.
Exploitability
AV:N
AC:H
PR:N
UI:N
Scope
S:C
Impact
C:N
I:N
A:L
4/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
Other
CWE-670