Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. http-proxy-middleware
  4. ›
  5. CVE-2025-32996

CVE-2025-32996: http-proxy-middleware can call writeBody twice because "else if" is not used

April 15, 2025 (updated April 28, 2025)

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.

References

  • github.com/advisories/GHSA-4www-5p9h-95mh
  • github.com/chimurai/http-proxy-middleware
  • github.com/chimurai/http-proxy-middleware/commit/020976044d113fc0bcbbaf995e91d05e2829a145
  • github.com/chimurai/http-proxy-middleware/pull/1089
  • github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8
  • github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.4
  • nvd.nist.gov/vuln/detail/CVE-2025-32996

Code Behaviors & Features

Detect and mitigate CVE-2025-32996 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.3.0 before 2.0.8, all versions starting from 3.0.0 before 3.0.4

Fixed versions

  • 2.0.8
  • 3.0.4

Solution

Upgrade to versions 2.0.8, 3.0.4 or above.

Impact 4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-670: Always-Incorrect Control Flow Implementation

Source file

npm/http-proxy-middleware/CVE-2025-32996.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:26 +0000.