~ / search / GHSA-4www-5p9h-95mh

GHSA-4www-5p9h-95mh

http-proxy-middleware can call writeBody twice because "else if" is not used

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-32996

Packages

EcosystemPackageAffectedFixed in
npm http-proxy-middleware >= 1.3.0, < 2.0.8 2.0.8
npm http-proxy-middleware >= 3.0.0, < 3.0.4 3.0.4

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.