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.
{ "nvd_published_at": "2025-04-15T03:15:18Z", "cwe_ids": [ "CWE-670" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2025-04-16T15:23:58Z" }