7.5

CVE-2025-31137: Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers

Deferred
AliasesGHSA-4q56-crqp-v477
Published 01-04-2025Last modified 02-04-2025

Vulnerability summary

CVE-2025-31137 is a high (CVSS 7.5) vulnerability in remix-run react-router. EPSS estimates a 1.20% chance of exploitation in the next 30 days, higher than 69.2% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.0 (CVE.org)
EPSS score
1.20%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 01-04-2025
    PublishedVulnerability first disclosed.
  2. 02-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.20%

Chance of exploitation in the next 30 days

Percentile

69%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 1.19% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

@react-router1 product
  • express≥ 7.0.0, < 7.4.1
@remix-run1 product
  • express≥ 2.11.1, < 2.16.3
Remix-run1 product

3 vendors · 3 products

References

3 links