CVE-2025-32996: 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.

4.0 CVSS

Description

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.

Classification

CVE ID: CVE-2025-32996

CVSS Base Severity: MEDIUM

CVSS Base Score: 4.0

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L

Problem Types

CWE-670 Always-Incorrect Control Flow Implementation

Affected Products

Vendor: chimurai

Product: http-proxy-middleware

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 10.94% (scored less or equal to compared to others)

EPSS Date: 2025-04-16 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-32996
https://github.com/chimurai/http-proxy-middleware/commit/020976044d113fc0bcbbaf995e91d05e2829a145
https://github.com/chimurai/http-proxy-middleware/pull/1089
https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8
https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.4

Timeline