GHSA-2j2x-hqr9-3h42 · Severity: medium · Ecosystem: npm — React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation
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.
Conclusion & alert: CVE-2026-40181 is rated Low Risk (30.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-03 | — | 0.04% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.6 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-2j2x-hqr9-3h42 · Severity: medium · Ecosystem: npm — React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation
| vendor | priority | summary | link |
|---|---|---|---|
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2026-40181/ |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| shopify | react-router | >= 6.7.0, < 6.30.4 | cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:* |
| shopify | react-router | >= 7.0.0, < 7.14.1 | cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/remix-run/react-router/security/advisories/GHSA-2j2x-hqr9-3h42 | Vendor Advisory |