SecurityContext

CVE-2026-40181: React Router - Open Redirect

  • Cve: CVE-2026-40181
  • Name: React Router - Open Redirect
  • Description: 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.
  • Impact: Attackers can redirect users to malicious external sites, potentially facilitating phishing or other attacks.
  • Remediation: Upgrade to versions 7.14.1 or 6.30.4 or later.
  • Vulnerability type: open_redirect
  • Vulnerability impact: open_redirect
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00221
  • Epss percentile: 0.12559
  • Assignee: [email protected]
  • Published at: 2026-06-02T20:16:35Z
  • Age in days: 175
  • Modified at: 2026-08-04T22:17:14Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40181
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-601URL Redirection to Untrusted Site

Hackerone

  • Reports: 1
  • Rank: 5211

References

UrlSourceTags
https://github.com/remix-run/react-router/security/advisories/GHSA-2j2x-hqr9-3h42nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
shopify:react-router>= 7.0.0, < 7.14.1; >= 6.7.0, < 6.30.4nonvd/v1/products/shopify/react-router

Projects

RepositoryLink kindsIndexedUrl
remix-run/react-routercommit, fix, package, security_advisoryyes/v1/repositories/remix-run/react-router

Index

  • Repositories: 991
  • Repositories high signal: 658
  • Packages: 2

Exploitation

  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts