http-proxy-middleware can call writeBody twice because "else if" is not used
Moderate severity
GitHub Reviewed
Published
Apr 15, 2025
to the GitHub Advisory Database
•
Updated Apr 16, 2025
Package
Affected versions
< 2.0.8
>= 3.0.0, < 3.0.4
Patched versions
2.0.8
3.0.4
Description
Published by the National Vulnerability Database
Apr 15, 2025
Published to the GitHub Advisory Database
Apr 15, 2025
Reviewed
Apr 16, 2025
Last updated
Apr 16, 2025
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.
References