CVE 5.4 MEDIUM

React Router has stored XSS via unescaped Location header in prerendered redirect HTML_CVE-2026-33244

5.4 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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.

Basic Information

ID CVE-2026-33244
Source GitHub_M
Published Jun 2, 2026 at 16:59

Affected Product

Vendor remix-run
Product react-router
Version >= 7.5.1, < 7.13.2
Affected Versions remix-run react-router >= 7.5.1, < 7.13.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.