Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

GHSA-8646-j5j9-6r62 — react-router

HIGH

GHSA-8646-j5j9-6r62 is a high-severity (CVSS 8) Cross-site Scripting (XSS) vulnerability in react-router. A fix is available for react-router — see the affected versions and patch details below.

React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets

Also known asCVE-2026-33245
Published
Jun 3, 2026
Updated
Jun 3, 2026
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Sep 26, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-8646-j5j9-6r62.

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs13th percentile — riskier than 13% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

GHSA-8646-j5j9-6r62 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 379,842 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

9Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
react-routernpm
63.5Mdownloads / week

Description

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmreact-router≥ 7.7.0&&< 7.13.27.13.2npm install react-router@7.13.2

Affected Products

1 product · 1 configurations
Application
react-routershopify
≥ 7.7.0 && < 7.13.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for react-router, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update react-router to 7.13.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-8646-j5j9-6r62 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
Workaround published by Red Hat
To mitigate this Cross-Site Scripting (XSS) vulnerability, ensure that applications utilizing React Router's unstable React Server Components (RSC) APIs only process redirects from trusted sources. Avoiding the use of these unstable APIs in production environments where untrusted redirect sources cannot be guaranteed is also recommended.
Source: Red Hat security advisory for GHSA-8646-j5j9-6r62 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat Data Grid 8.6.2react-routerRHSA-2026:41951
Red Hat OpenShift AI 3.3rhoai/odh-dashboard-rhel9:1783082634RHSA-2026:37275
Red Hat OpenShift AI 3.4rhoai/odh-mod-arch-automl-rhel9:1782722421RHSA-2026:34456
Red Hat OpenShift AI 3.4rhoai/odh-dashboard-rhel9:1787347991RHSA-2026:60520
Red Hat OpenShift Dev Spaces 3.29devspaces/dashboard-rhel9:1784737150RHSA-2026:48124

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is GHSA-8646-j5j9-6r62 in your dependencies?

Find it across npm, including transitive dependencies.

GHSA-8646-j5j9-6r62: react-router (High 8) | O3 Security