{"id":"CVE-2025-31137","state":"PUBLISHED","title":"Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers","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.","publishedAt":"2025-04-01T18:20:32.660Z","updatedAt":"2025-04-02T15:11:11.594Z","severity":{"score":7.5,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["remix-run react-router"],"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"}]}],"references":["https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477"],"weaknesses":["CWE-444"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/31xxx/CVE-2025-31137.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-31137","state":"PUBLISHED","datePublished":"2025-04-01T18:20:32.660Z","dateUpdated":"2025-04-02T15:11:11.594Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-03-26T15:04:52.627Z"},"containers":{"cna":{"title":"Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers","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."}],"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"}]}],"references":[{"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477","name":"https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477","tags":["x_refsource_CONFIRM"]}],"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-444","lang":"en","description":"CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-04-01T18:20:32.660Z"},"source":{"advisory":"GHSA-4q56-crqp-v477","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","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"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-02T15:11:11.594Z"}}]}}}