CVE-2025-32996
JSON

4.0medium

http-proxy-middleware can call writeBody twice because "else if" is not used

Severity
4.0medium CVSS:3.1 by mitre
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-4www-5p9h-95mh

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.

Affected

Product or packageVersionsReported by
chimurai http-proxy-middlewarebefore 2.0.8, from 3.0.0 before 3.0.4CVE List, NVD
http-proxy-middleware (npm)from 1.3.0 before 2.0.8, from 3.0.0 before 3.0.4GitHub Advisory Database

All scores

mitre4.0medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
GitHub4.0medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-670

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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 (es)

En http-proxy-middleware anterior a 2.0.8 y 3.x anterior a 3.0.4, writeBody se puede llamar dos veces porque no se utiliza "else if".

References

Sources

SourceRecordLicence
CVE ListCVE-2025-32996 changed 2025-04-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-4www-5p9h-95mh changed 2026-09-10CC-BY-4.0
NVDCVE-2025-32996 changed 2026-06-17Public domain