HTTP Request Smuggling Affecting @react-router/express package, versions >=7.0.0 <7.4.1-pre.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept

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-REACTROUTEREXPRESS-9598036
  • published2 Apr 2025
  • disclosed1 Apr 2025
  • creditRachid Allam, Yasser Allam

Introduced: 1 Apr 2025

NewCVE-2025-31137  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade @react-router/express to version 7.4.1-pre.0 or higher.

Overview

@react-router/express is an Express server request handler for React Router

Affected versions of this package are vulnerable to HTTP Request Smuggling via Host or X-Forwarded-Host headers. An attacker can spoof the URL used in an incoming request's Host or X-Forwarded-Host header by passing in a URL pathname as the port of a URL.

CVSS Base Scores

version 4.0
version 3.1