{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-31137","id":"CVE-2025-31137","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-Forwar","descriptionLong":"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.","published":"2025-04-01T18:20:32.660Z","updated":"2026-10-28T02:30:33.372506015Z","reserved":"2025-03-26T15:04:52.627Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["remix-run react-router"],"affectedProducts":[{"vendor":"remix-run","product":"react-router","defaultStatus":null,"versions":[{"version":">= 7.0.0, < 7.4.1","status":"affected"},{"version":">= 2.11.1, < 2.16.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@react-router/express","purl":"pkg:npm/%40react-router/express","ranges":[">=7.0.0 <7.4.1"],"fixed":["7.4.1"],"advisory":"GHSA-4q56-crqp-v477"},{"ecosystem":"npm","name":"@remix-run/express","purl":"pkg:npm/%40remix-run/express","ranges":[">=2.11.1 <2.16.3"],"fixed":["2.16.3"],"advisory":"GHSA-4q56-crqp-v477"}],"cwes":["CWE-444"],"aliases":["GHSA-4q56-crqp-v477"],"references":[{"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31137.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31137","tags":["advisory"]},{"url":"https://github.com/remix-run/react-router","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01201,"epssPercentile":0.68853,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-31137","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31137","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-31137","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4q56-crqp-v477","ok":true,"note":"GHSA-4q56-crqp-v477"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-31137","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["react"],"critical":[],"attention":null}