CVE-2026-33244React Router has stored XSS via unescaped Location header in prerendered redirect HTML
Description
React Router is a router for React. In versions 7.5.1 through 7.13.1, when using Framework Mode with pre-rendering enabled, improper neutralization of the HTTP `Location` header value can permit Cross-Site Scripting (XSS) in the statically generated HTML files if the redirect location comes from an untrusted source. This does not impact applications using Declarative Mode (`<BrowserRouter>`) or Data Mode (`createBrowserRouter/<RouterProvider>`). This is patched in version 7.13.2.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| remix-run | react-router | >= 7.5.1, < 7.13.2 | |
| shopify | react-router | 7.5.1 – < 7.13.2 |
References and patches
CPE matches (NVD) (1)
cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*≥ 7.5.1 < 7.13.2