Advisory

GHSA-8646-j5j9-6r62

Also known as: CVE-2026-33245

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-03 20:33 UTC
Modified
2026-06-03 20:56 UTC

Affected packages and fixes

react-router

npm · All systems

Affected

  • introduced 7.7.0, fixed 7.13.2 (semver)

Fixed versions

7.13.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences