CVSS 3.0
7.5 highCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in remix-run react-router. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in @react-router/express 7.4.1.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H@react-router/express (npm): fixed in 7.4.1@remix-run/express (npm): fixed in 2.16.3Explain CVE-2025-31137 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-31137?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-31137?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-31137 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| remix-run react-router | >= 7.0.0, < 7.4.1 |
| remix-run react-router | >= 2.11.1, < 2.16.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4q56-crqp-v477 | 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 |
Red Hat rates this Important.
This vulnerability allows URL spoofing, which can lead to unauthorized access to resources and potential data breaches. The fact that it requires no authentication or user interaction significantly increases its exploitability. The use of Host or X-Forwarded-Host headers, which are commonly used in web applications, makes this a widespread issue. While arbitrary code execution isn't directly possible based on the description, the ability to manipulate URLs and potentially access sensitive data warrants an Important impact rating.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Cryostat 4 | io.cryostat-cryostat | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Not affected | |
| Migration Toolkit for Applications 7 | mta/mta-ui-rhel9 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-ui-rhel8 | Not affected | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Not affected | |
| Migration Toolkit for Virtualization | mtv-candidate/mtv-console-plugin-rhel9 | Not affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel8 | Not affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel9 | Not affected | |
| Network Observability Operator | network-observability/network-observability-console-plugin-rhel9 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel9 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-api-rhel8 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-api-rhel9 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-db-migration-rhel8 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-db-migration-rhel9 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel9 | Not affected | |
| OpenShift Serverless | openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-ossmc-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-rhel8 | Not affected | |
| 64 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-31137.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.