CVE-2026-33244

MEDIUM

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

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 5.4
EPSS 0.0014
EPSS Percentile 4.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
npm/react-router 7.5.1 - 7.13.2npm
remix-run/react-router >= 7.5.1, < 7.13.2
shopify/react-router 7.5.1 - 7.13.2
Published Jun 02, 2026
Tracked Since Jun 02, 2026