React Router vulnerable to Denial of Service via reflected user input in single-fetch
remix-run react-router · remix-run turbo-stream
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| react-router npm |
|
|
| turbo-stream npm |
|
|
Original 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.