cve.bz

CVE-2025-31137

7.5 highEPSS 1.2%

High (7.5). EPSS 1.2% chance of exploitation in the next 30 days. Fixed in @react-router/express 7.4.1.

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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.2% chance of exploitation in the next 30 days; higher than 67% of CVEs (scores of 2026-10-31)
CWE
CWE-444
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4q56-crqp-v477npm@react-router/express>=7.0.0 <7.4.17.4.1
GHSA-4q56-crqp-v477npm@remix-run/express>=2.11.1 <2.16.32.16.3

References

Check your stackJSON