CVE-2025-31137
Remix/React Router URL Spoofing Vulnerability
Description
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.
INFO
Published Date :
April 1, 2025, 7:15 p.m.
Last Modified :
April 1, 2025, 8:26 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2025-31137
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-31137
.
URL | Resource |
---|---|
https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-31137
vulnerability anywhere in the article.

-
Daily CyberSecurity
Multiple Jenkins Plugin and Core Vulnerabilities Expose Sensitive Data and Execution Paths
The Jenkins project has released a new security advisory highlighting several medium to high severity vulnerabilities affecting Jenkins core and popular community plugins. These issues span from missi ... Read more

-
Daily CyberSecurity
CVE-2025-31137: React Router Vulnerability Exposes Web Apps to Cache Poisoning and WAF Bypass Attacks
A newly discovered vulnerability, CVE-2025-31137, has been identified in React Router, a popular library used for managing routing in React applications. Security researcher Rachid Allam and Yasser Al ... Read more
The following table lists the changes that have been made to the
CVE-2025-31137
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Apr. 01, 2025
Action Type Old Value New Value Added Description 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. Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-444 Added Reference https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-31137
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-31137
weaknesses.