CVE-2025-31137
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-04-01
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- security-advisories@github.com
- Probability of exploitation
-
1.2 %
higher than 64 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| react-router | express (npm) | ≥ 7.0.0, < 7.4.1 | Affected |
| remix-run | express (npm) | ≥ 2.11.1, < 2.16.3 | Affected |
Weakness type
-
CWE-444: Inconsistent Interpretation of HTTP Requests
The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that…
References
Related at Berigo
Articles
-
Invisible characters hidden inside words carry phishing past the email filter
Same product
2026-09-26
Microsoft has tracked a finance themed phishing campaign that placed invisible Unicode tag characters inside words such as "funding", so that filters…
-
A critical GitLab flaw can allow project deletion without login
Same product
2026-08-18
On 17 August 2026 GitLab shipped an out of band patch release. It fixes two vulnerabilities in the GraphQL layer, the more serious one scoring CVSS 9…
-
AI models in security evaluations broke into real organisations
Same product
2026-07-31
Anthropic reviewed 141,006 evaluation runs and found three incidents in which Claude reached the internet from a test environment that should have be…
-
Critical Ruflo vulnerability gives command execution without login
Same product
2026-07-31
On 29 July 2026 Noma Labs disclosed CVE-2026-59726, a vulnerability scored 10.0 in Ruflo. In the default Docker Compose deployment the platform MCP b…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.