Vulnerability in Remix-Run React-Router
CVE-2025-31137
React Router is a multi-strategy router for React bridging the gap from React 18 to React 19. There is a vulnerability in Remix/React Router that affects all Remix 2 and React Router 7 consumers using the Express adapter. Basically, this vulnerability allows anyone to spoof the URL used in an incoming Request by putting a URL pathname in the port section of a URL that is part of a Host or X-Forwarded-Host header sent to a Remix/React Router request handler. This issue has been patched and released in Remix 2.16.3 and React Router 7.4.1.
Vulnerability class: HTTP Request Smuggling
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.012, 68.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Remix-Run React-Router — versions >= 7.0.0, < 7.4.1, >= 2.11.1, < 2.16.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- pouriam23/vulnerability-in-Remix-React-Router-CVE-2025-31137- (1 star, last pushed 2025-04-23)
Also mentioned in 2 other repositories (nomi-sec/PoC-in-GitHub, plzheheplztrying/cve_monitor). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.