CVE-2025-31137
published high CVSS 3.0 · 7.5Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| remix-run | — | react-router>= 7.0.0, < 7.4.1 · >= 2.11.1, < 2.16.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| remix-run | react-router | >= 7.0.0, < 7.4.1 (affected)>= 2.11.1, < 2.16.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-444 CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
References
1Provider assertions
2GitHub_M · cna
Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c275f419e2ad3b53a224cb0ac76984ba5100dfd8588cf8b626cfb99b19d8e29e
- Ingested
- 23 Sep 2026, 08:44:43 UTC
- Source record
- Official CVE record