CVE-2026-33245: React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets

Published Jun 2, 2026
·
Updated

React Router is a router for React. In versions 7.7.0 through 7.13.1, when using React Router's unstable React Server Components (RSC) APIs, there is a potential client-side Cross-Site Scripting (XSS) vulnerability in the RSC redirect handling if redirects come from untrusted sources. This does not impact applications that are not using the unstable RSC APIs in React Router. This is patched in version 7.13.2.

Other sources

When using React Router v7's unstable RSC APIs, there exists a potential client-side XSS issue in the RSC redirect handling if redirects are coming from untrusted sources

> [!NOTE] > This only impacts your application if you are using the unstable RSC APIs in React Router.

GitHub

Affected Software

4 affected componentsFixes available
npm/react-router>=7.7.0<=7.13.1
npm/react-router>=7.7.0<7.13.2
7.13.2
Shopify React-router Node.js>=7.7.0<7.13.2
IBM API Connect<=V10.0.8.0 - V10.0.8.9

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.2
  2. Upgrade

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

    Fixed in 7.13.2
  3. Configuration

    When using React Router v7 unstable RSC APIs, ensure any redirects handled by the RSC redirect handling are not derived from untrusted sources.

    React Router (unstable React Server Components (RSC) APIs) RSC redirect targets source trust = only allow redirects from trusted sources

Event History

Jun 2, 2026
CVE Published
via MITRE·05:14 PM
Data Sourced
via MITRE·05:14 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software
Jun 3, 2026
Advisory Published
via GitHub·08:33 PM
Data Sourced
via GitHub·08:33 PM
DescriptionSeverityWeaknessAffected Software
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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-33245?

CVE-2026-33245 has a severity score of 8, which is classified as high.

2

What type of vulnerability is CVE-2026-33245?

CVE-2026-33245 is a Cross-Site Scripting (XSS) vulnerability.

3

How can I mitigate the risks associated with CVE-2026-33245?

To mitigate CVE-2026-33245, ensure that redirects using the unstable RSC APIs are sourced from trusted entities.

4

Which versions of React Router are affected by CVE-2026-33245?

CVE-2026-33245 affects React Router versions from 7.7.0 through 7.13.1.

5

What software products utilize the affected React Router version in CVE-2026-33245?

Affected software includes npm/react-router, Shopify React-router, and IBM API Connect.

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
CVE-2026-33245 - React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets - SecAlerts