HighGHSA-8646-j5j9-6r62CVE-2026-33245

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

Published 3 Jun 2026 · Updated 3 Jun 2026

Affected package

Affected
>=7.7.0 <7.13.2
Fixed in
7.13.2
Update to the fixed version for your release line, for example:npm install react-router@7.13.2

Details

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.

Is GHSA-8646-j5j9-6r62 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected react-router, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.