Improper Check for Unusual or Exceptional Conditions Affecting http-proxy-middleware package, versions <2.0.9>=3.0.0-beta.0 <3.0.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-HTTPPROXYMIDDLEWARE-9691389
  • published15 Apr 2025
  • disclosed15 Apr 2025
  • creditUnknown

Introduced: 15 Apr 2025

NewCVE-2025-32997  (opens in a new tab)
CWE-754  (opens in a new tab)

How to fix?

Upgrade http-proxy-middleware to version 2.0.9, 3.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions in the fixRequestBody() function, which processes certain invalid requests without error. An attacker can manipulate the request body by sending requests that violate the expected structure for bodyParser().

CVSS Base Scores

version 4.0
version 3.1