MODERATEnpm →
React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation
React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation
Affected packages
- @remix-run/router
- react-router
Exploit signal
- Known exploited (CISA KEV)
- No
- EPSS score
- 0.16%
- EPSS percentile
- 5.9%
EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs. This advisory is in the top 6%.
Sources
- https://github.com/remix-run/react-router/security/advisories/GHSA-2j2x-hqr9-3h42
- https://nvd.nist.gov/vuln/detail/CVE-2026-40181
- https://github.com/remix-run/react-router/commit/d77f6b1
- https://github.com/remix-run/react-router
Structured record: https://osv.dev/vulnerability/GHSA-2j2x-hqr9-3h42
Recommended response stack
Snyk — Scan your dependencies in CI and fix this vulnerability.→Socket — Detect malicious and compromised packages before they ship.→
Some links are affiliate links — HackTribune may earn a commission at no extra cost to you.
Get incidents like this as alerts for your stack.
Join the beta