Skip to main content
← All vulnerabilities
CVE-2026-33244GHSA-F22V-GFQF-P8F3

React Router has stored XSS via unescaped Location header in prerendered redirect HTML

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.13.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • remix-run react-router

    From 7.5.1 · fixed in 7.13.2

  • react-routernpm

    From 7.5.1 · fixed in 7.13.2

References 1

GitHub · remix-run/react-router