Severity by source
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
AC:H because exploitation requires app to expose attacker-controlled input to navigation APIs; S:C and C:H reflect XSS cross-origin session theft; UI:R for mandatory victim click.
Primary rating from Vendor (https://github.com/remix-run/react-router).
CVSS VectorVendor: https://github.com/remix-run/react-router
Lifecycle Timeline
3Blast Radius
ecosystem impact- 20 npm packages depend on react-router (11 direct, 9 indirect)
- 8 npm packages depend on react-router-dom (7 direct, 1 indirect)
Ecosystem-wide dependent count for version 7.9.6 and other introduced versions.
DescriptionCVE.org
Applications with open redirects could permit attacker crafted links to result in redirects to unexpected external location or XSS vectors.
AnalysisAI
Open redirect in React Router's resolvePath utility allows attackers to craft navigation URLs using protocol-relative paths (//external.com) or colon-containing relative paths that the library fails to normalize, resulting in external redirects or XSS execution in the victim's browser. Affected packages are react-router (npm) 7.9.6-7.12.0 and react-router-dom (npm) 6.30.2-6.30.4; only react-router has a confirmed fix (7.13.0). No public exploit code and no CISA KEV listing have been identified at time of analysis, though the CVSS scope-change and high confidentiality impact reflect cross-origin session theft potential via XSS.
Technical ContextAI
React Router is the dominant client-side routing library for React applications, distributed as pkg:npm/react-router and pkg:npm/react-router-dom. The vulnerability exists in the resolvePath function (packages/react-router/lib/router/utils.ts) which computed navigation targets for useNavigate and <Link>. The old implementation called isAbsoluteUrl() and, upon matching, passed protocol-relative paths like //external.com through without normalization, allowing them to be interpreted by the browser as external URLs. Separately, relative paths containing colons (e.g., foo:bar) could be misread as URL schemes (e.g., javascript:), introducing an XSS vector. CWE-601 (URL Redirection to Untrusted Site) is the root cause class. The fix in PR #14718 strips leading double slashes unconditionally before any path resolution, and resolves all non-absolute paths relative to the application root, closing both vectors.
RemediationAI
For react-router (7.x), upgrade to version 7.13.0 or later; the upstream fix is confirmed in commit 3a5b5ad0e5cf9918c646509563f5c41a89226ff3 and PR #14718 (https://github.com/remix-run/react-router/pull/14718). For react-router-dom 6.x (versions 6.30.2-6.30.4), no confirmed fixed release was identified in the advisory at time of analysis - monitor https://github.com/remix-run/react-router/security/advisories/GHSA-jjmj-jmhj-qwj2 for updates. As a compensating control, applications should validate and reject any navigation target that begins with // or contains a colon before the first slash before passing it to useNavigate or <Link to=...>; this prevents the open redirect vector regardless of library version. Note that input validation at the application layer introduces maintenance overhead and must be applied consistently at every navigation call site - partial application leaves gaps. Do not rely solely on sanitization as a long-term control once a patch is available.
More in Open Redirect
View allA malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca
GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of
PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect
Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to
Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows
Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b
Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li
Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3
Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp
Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites
Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for
Nteract v.0.28.0 was discovered to contain a remote code execution (RCE) vulnerability via the Markdown link. Rated crit
Vendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-49633
GHSA-jjmj-jmhj-qwj2