{"id":"CVE-2026-40181","published":"2026-06-02T17:55:09Z","modified":"2026-08-04T21:26:41Z","title":"React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL…","vendor":"remix-run","product":"react-router","tier":"tail","description":{"text":"React Router is a router for React. In versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3, certain URLs passed to the redirect function can trigger an open redirect to an external domain due to path values starting with // being reinterpreted as protocol-relative URLs. The level of impact depends on the validation done by the application prior to returning the redirect. This does not impact applications using Declarative Mode (<BrowserRouter>). This is patched in versions 7.14.1 and 6.30.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00273,"percentile":0.12454,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-2j2x-hqr9-3h42","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":2.49},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"remix-run","affectedVersions":[{"vendor":"remix-run","product":"react-router","versions":[">= 7.0.0, < 7.14.1",">= 6.7.0, < 6.30.4"]},{"vendor":"remix-run","product":"@remix-run/router","versions":[">= 1.3.0, < 1.23.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-03T15:55:42.346232Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"react-router","vulnerableRanges":[">=7.0.0, <7.14.1",">=6.7.0, <6.30.4"],"patched":["7.14.1","6.30.4"],"from":["GHSA-2j2x-hqr9-3h42"],"provenance":"source"},{"ecosystem":"npm","package":"@remix-run/router","vulnerableRanges":[">=1.3.0, <1.23.3"],"patched":["1.23.3"],"from":["GHSA-2j2x-hqr9-3h42"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-33996","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-68470","published":"2026-01-10","fixed":"7.9.6","kev":false,"link":{"from":"CVE-2025-68470","to":"CVE-2026-40181","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:react-router","fromFixed":"6.30.2","toFixed":"6.30.4","daysApart":143}]}},{"cve":"CVE-2026-22029","published":"2026-01-10","fixed":"7.12.0","kev":false,"link":{"from":"CVE-2026-22029","to":"CVE-2026-40181","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@remix-run/router","fromFixed":"1.23.2","toFixed":"1.23.3","daysApart":143}]}},{"cve":"CVE-2026-33244","published":"2026-06-02","fixed":"7.13.2","kev":false},{"cve":"CVE-2026-33245","published":"2026-06-02","fixed":"7.13.2","kev":false},{"cve":"CVE-2026-34077","published":"2026-06-02","fixed":"7.14.0","kev":false,"link":{"from":"CVE-2026-34077","to":"CVE-2026-40181","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:react-router","fromFixed":"7.14.0","toFixed":"7.14.1","daysApart":0}]}},{"cve":"CVE-2026-40181","published":"2026-06-02","fixed":"7.14.1","kev":false},{"cve":"CVE-2026-42211","published":"2026-06-02","fixed":"7.14.2","kev":false,"link":{"from":"CVE-2026-40181","to":"CVE-2026-42211","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:react-router","fromFixed":"7.14.1","toFixed":"7.14.2","daysApart":0}]}},{"cve":"CVE-2026-42342","published":"2026-06-02","fixed":"7.15.0","kev":false},{"cve":"CVE-2026-53663","published":"2026-06-22","fixed":"7.15.1","kev":false}],"package":"npm:react-router"}}