GHSA-4www-5p9h-95mh

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

At a glance

Published
Updated
CVE
CVE-2025-32996
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L

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 packages

PackageVersions
npm · http-proxy-middlewareintroduced 1.3.0, fixed 2.0.8
npm · http-proxy-middlewareintroduced 3.0.0, fixed 3.0.4

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database