CVE-2026-33244
React Router has stored XSS via unescaped Location header in prerendered redirect HTML
Description
When using React Router v7 Framework Mode with Pre-rendering enabled, an improper neutralization of the HTTP Location header value can permit Cross-Site Scripting (XSS) in statically generated HTML files if the redirect location comes from an untrusted source.
[!NOTE] This does not impact your React Router application if you are using Declarative Mode (
<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>).
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » react-routervia npm react-router | >= 7.5.1, < 7.13.2 | 7.13.2 |
| org.webjars » react-routervia npm react-router | >= 7.5.1, < 7.13.2 | 7.13.2 |
| org.webjars.npm » react-routervia npm react-router | >= 7.5.1, < 7.13.2 | 7.13.2 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 109 |
Most used dependents
- org.mvnpm » react-router-dom19 usages
- org.mvnpm » zudoku0 usages
Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2026-33244 | nvd.nist.gov |
| Package | remix-run/react-router | github.com |
| Web | remix-run/react-router advisory GHSA-f22v-gfqf-p8f3 | github.com |
| Web | remix-run/react-router pull request #14880 | github.com |
| Web | remix-run/react-router commit ea28e66 | github.com |
| Web | remix-run/react-router CHANGELOG.md | github.com |
