{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2025-31137",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-03-26T15:04:52.627Z",
        "datePublished": "2025-04-01T18:20:32.660Z",
        "dateUpdated": "2025-04-02T15:11:11.594Z"
    },
    "containers": {
        "cna": {
            "title": "Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-444",
                            "lang": "en",
                            "description": "CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477"
                }
            ],
            "affected": [
                {
                    "vendor": "remix-run",
                    "product": "react-router",
                    "versions": [
                        {
                            "version": ">= 7.0.0, < 7.4.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.11.1, < 2.16.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-04-01T18:20:32.660Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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": {
                "advisory": "GHSA-4q56-crqp-v477",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-04-02T15:10:40.932074Z",
                                "id": "CVE-2025-31137",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-04-02T15:11:11.594Z"
                }
            }
        ]
    }
}