CVE-2026-33244
CVE-2026-33244 · React Router has stored XSS via unescaped Location header in prerendered redirect HTML
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.4 · Medium · EPSS 0.1% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
react-router
- Versions
- >= 7.5.1, < 7.13.2: Affected
No fix published
react-router npm
- Affected ranges
- SEMVER: ≥ 7.5.1, < 7.13.2
Update to 7.13.2