Home / remix-run / react-router / CVE-2025-31137
CVE-2025-31137: is it exploited, and which versions of remix-run react-router are affected and fixed?
CVE-2025-31137 is a HTTP request smuggling vulnerability in remix-run react-router. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: @react-router/express from 7.0.0 before 7.4.1 and @remix-run/express from 2.11.1 before 2.16.3 (GitHub advisory GHSA-4q56-crqp-v477). Fixed in 7.4.1 and 2.16.3 (GitHub advisory GHSA-4q56-crqp-v477). Severity: High (7.5, CVSS 3.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-31137?
Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers
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.
From the CVE record by GitHub_M, last updated April 2, 2025, 15:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| remix-run | react-router | >= 7.0.0, < 7.4.1 >= 2.11.1, < 2.16.3 |
As the CVE record by GitHub_M states it, last updated April 2, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @react-router/express | >= 7.0.0, < 7.4.1 | 7.4.1 | GHSA-4q56-crqp-v477 |
| npm | @remix-run/express | >= 2.11.1, < 2.16.3 | 2.16.3 | GHSA-4q56-crqp-v477 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 1, 2025. Summary: Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers.
How severe is CVE-2025-31137?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-31137 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 2, 2025)
- EPSS
- 1.20% probability of exploitation activity in the next 30 days, percentile 69.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-444 Inconsistent Interpretation of HTTP Requests
Where are the vendor advisories and references?
- https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- March 26, 2025
- Published
- April 1, 2025, 18:20 UTC
- CVE record updated
- April 2, 2025, 15:11 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:09 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect react-router?
- Nov 30, 2026CVE-2026-139999 remix-run react-router: cross-site request forgery (CSRF)
- Nov 30, 2026CVE-2026-139998 remix-run react-router: denial of service (uncontrolled resource consumption)
- Nov 30, 2026CVE-2026-139997 remix-run react-router: open redirect
- Nov 30, 2026CVE-2026-139996 remix-run react-router: prototype pollution
- Nov 30, 2026CVE-2026-139994 remix-run react-router: cross-site scripting (XSS)
- Jul 27, 2026CVE-2026-53669 remix-run react-router: open redirect
- Jul 27, 2026CVE-2026-55685 remix-run react-router: denial of service (uncontrolled resource consumption)
- Jul 27, 2026CVE-2026-53668 remix-run react-router: open redirect
Questions about CVE-2025-31137
Is CVE-2025-31137 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 1.20% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of remix-run react-router are affected by CVE-2025-31137?
@react-router/express from 7.0.0 before 7.4.1 and @remix-run/express from 2.11.1 before 2.16.3, per the GitHub advisory GHSA-4q56-crqp-v477. The tables above give every range the sources list.
Which version fixes CVE-2025-31137?
7.4.1 and 2.16.3, per the GitHub advisory GHSA-4q56-crqp-v477. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-31137?
High (7.5, CVSS 3.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-31137?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.