CVE Catalog

CVE-2026-33244

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

React Router versions 7.5.1 through 7.13.1 in Framework Mode with pre-rendering enabled improperly neutralize the HTTP Location header, allowing XSS in static HTML files if the redirect source is untrusted. Not affected in Declarative or Data Mode. Patched in version 7.13.2.

Risk Assessment

An attacker can inject malicious scripts into static HTML files, potentially leading to data theft or session hijacking.

Recommendation

Update React Router to version 7.13.2 or later.

Other vulnerabilities in React Router

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS