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