CVE-2026-53668: React Router: Open redirect can lead to XSS

Published Jul 23, 2026
·
Updated

Applications with open redirects could permit attacker crafted links to result in redirects to unexpected external location or XSS vectors.

Other sources

React Router is a router for React. In versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, applications that allow open redirects are vulnerable to XSS. An attacker could craft a malicious link that redirects users to an unexpected external site or that exploits an XSS vector.This issue has been fixed in version 7.13.0.

MITRE

Affected Software

4 affected componentsFixes available
npm/react-router>=7.9.6<=7.12.0
7.13.0
npm/react-router-dom>=6.30.2<=6.30.4
Shopify React-router Node.js>=6.30.2<=6.30.4
Shopify React-router Node.js>=7.9.6<7.13.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/react-router to a version that resolves this vulnerability.

    Fixed in 7.13.0
  2. Upgrade

    Upgrade React Router to a version that resolves this vulnerability.

    Fixed in 7.13.0
  3. Compensating control

    For React Router versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, mitigate open redirect/XSS by preventing attacker-controlled redirects to unexpected external locations (i.e., do not allow crafted links to trigger redirects).

Event History

Jul 23, 2026
Advisory Published
via GitHub·07:36 PM
Data Sourced
via GitHub·07:36 PM
DescriptionSeverityWeaknessAffected Software
Jul 27, 2026
CVE Published
via MITRE·09:42 PM
Data Sourced
via MITRE·09:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-53668?

CVE-2026-53668 has a medium severity rating of 6.9.

2

What types of vulnerabilities are associated with CVE-2026-53668?

CVE-2026-53668 is associated with open redirects that can potentially lead to unexpected external redirects or XSS vulnerabilities.

3

How do I fix CVE-2026-53668?

To fix CVE-2026-53668, ensure that your application validates and sanitizes URLs to mitigate open redirects.

4

Which software is affected by CVE-2026-53668?

CVE-2026-53668 affects npm packages react-router and react-router-dom.

5

How can CVE-2026-53668 impact application security?

CVE-2026-53668 can allow attackers to craft links that redirect users to malicious sites or introduce XSS vulnerabilities in applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203