{ "schema_version": "1.4.0", "id": "GHSA-4www-5p9h-95mh", "modified": "2025-04-28T14:27:14Z", "published": "2025-04-15T03:30:34Z", "aliases": [ "CVE-2025-32996" ], "summary": "http-proxy-middleware can call writeBody twice because \"else if\" is not used", "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "http-proxy-middleware" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "1.3.0" }, { "fixed": "2.0.8" } ] } ] }, { "package": { "ecosystem": "npm", "name": "http-proxy-middleware" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "3.0.0" }, { "fixed": "3.0.4" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-32996" }, { "type": "WEB", "url": "https://github.com/chimurai/http-proxy-middleware/pull/1089" }, { "type": "WEB", "url": "https://github.com/chimurai/http-proxy-middleware/commit/020976044d113fc0bcbbaf995e91d05e2829a145" }, { "type": "PACKAGE", "url": "https://github.com/chimurai/http-proxy-middleware" }, { "type": "WEB", "url": "https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8" }, { "type": "WEB", "url": "https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.4" } ], "database_specific": { "cwe_ids": [ "CWE-670" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2025-04-16T15:23:58Z", "nvd_published_at": "2025-04-15T03:15:18Z" } }