CVE-2025-31137 in Express products
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 put...
Affects 0 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Express | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-31137 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-041227-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-04-01 |
| Last modified | 2026-04-15 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-444: CWE-444
Related attack patterns (CAPEC)
CAPEC-33 HTTP Request Smuggling via CWE-444
CAPEC-273 HTTP Response Smuggling via CWE-444
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Remix/React Router affects all Remix 2 and React Router 7 consumers using the Express adapter, allowing attackers to spoof the URL used in an incoming request by manipulating the port section of a URL.
The vulnerability arises from improper validation of the URL in the port section of a Host or X-Forwarded-Host header, enabling attackers to inject arbitrary pathnames that could lead to unauthorized access or request forgery.
Questions
What is CVE-2025-31137?
A vulnerability in Remix/React Router affects all Remix 2 and React Router 7 consumers using the Express adapter, allowing attackers to spoof the URL used in an incoming request by manipulating the port section of a URL.
What is the CVSS score for CVE-2025-31137?
CVE-2025-31137 has CVSS 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.8%.
Is CVE-2025-31137 actively exploited?
No confirmed active exploitation of CVE-2025-31137 as of 2026-05-30.
How do I remediate CVE-2025-31137?
Priority: HIGH.
What systems are affected by CVE-2025-31137?
CVE-2025-31137 affects Express.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Express","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.