CVE-2025-32996
MEDIUM 5.3CVSS 3.1http-proxy-middleware can call writeBody twice because "else if" is not used
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.
- Published
- 15 Apr 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-670
- Also known as
- GHSA-4www-5p9h-95mh
- Sources
- NVDJSONOSV GHSA-4www-5p9h-95mhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | chimurai | http-proxy-middlewarecpe:2.3:a:chimurai:http-proxy-middleware:*:*:*:*:*:*:*:* |
< 2.0.8 | 2.0.8 |
| NVD | chimurai | http-proxy-middlewarecpe:2.3:a:chimurai:http-proxy-middleware:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.4 | 3.0.4 |
| OSV | npm | http-proxy-middleware | >= 1.3.0, < 2.0.8 | 2.0.8 |
| OSV | npm | http-proxy-middleware | >= 3.0.0, < 3.0.4 | 3.0.4 |
References
- https://github.com/chimurai/http-proxy-middleware/commit/020976044d113fc0bcbbaf995e91d05e2829a145 · Patch, WEB
- https://github.com/chimurai/http-proxy-middleware/pull/1089 · Issue Tracking, WEB
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8 · Release Notes, WEB
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.4 · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-32996 · ADVISORY
- https://github.com/chimurai/http-proxy-middleware · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 15 Apr 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 15 Apr 2025)