CVE Explorer
CVE-2026-40181
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"react-router","vendor":"remix-run","versions":[{"status":"affected","version":">= 7.0.0, < 7.14.1"},{"status":"affected","version":">= 6.7.0, < 6.30.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a235f772af5e172409a160c133424a0a1f44f0c0826627290dca0be12bd93f3a · sha256:9dba5ef0a5458529… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.6,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a235f772af5e172409a160c133424a0a1f44f0c0826627290dca0be12bd93f3a · sha256:9dba5ef0a5458529… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-601","description":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a235f772af5e172409a160c133424a0a1f44f0c0826627290dca0be12bd93f3a · sha256:9dba5ef0a5458529… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/remix-run/react-router/security/advisories/GHSA-2j2x-hqr9-3h42","tags":["x_refsource_CONFIRM"],"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-2j2x-hqr9-3h42"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a235f772af5e172409a160c133424a0a1f44f0c0826627290dca0be12bd93f3a · sha256:9dba5ef0a5458529… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.