ADVISORIES

GitHub Advisory Database

GHSA-8646-j5j9-6r62

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

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.

Affected packages

EcosystemPackageAffected versions
npmreact-router
From 7.7.0 before 7.13.2 (fixed in 7.13.2)

References