Skip to main content

Always-Incorrect Control Flow Implementation in http-proxy-middleware

CVE-2025-32996

  • http-proxy-middleware
  • org.webjars.npm:http-proxy-middleware
Severity Medium
Score 5.3/10

Summary

In http-proxy-middleware v1.3.0 through v2.0.7 and v3.x through v3.0.3, "writeBody" function can be called twice because "else if" is not used.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • LOW

CWE-670 - Always-Incorrect Control Flow Implementation

The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.

Advisory Timeline

  • Published