CVE-2026-33244: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in remix-run react-router
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.
AI Analysis
Technical Summary
React Router versions 7.5.1 through 7.13.1, when used in Framework Mode with pre-rendering enabled, improperly neutralize the HTTP Location header value. This flaw permits Cross-Site Scripting (CWE-79) in the statically generated HTML files if the redirect location originates from an untrusted source. The vulnerability does not affect applications using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>). The issue is resolved in version 7.13.2.
Potential Impact
Successful exploitation can lead to limited impact Cross-Site Scripting attacks, potentially allowing an attacker to execute scripts in the context of the affected application’s statically generated pages. This may result in partial confidentiality and integrity loss of user data within the affected context. There is no impact on availability. The vulnerability requires user interaction and low complexity to exploit but does require some privileges (PR:L).
Mitigation Recommendations
A fix is available in react-router version 7.13.2. Users should upgrade to this version to remediate the vulnerability. There is no indication that this vulnerability affects cloud services or that vendor-managed remediation applies. No additional mitigations are specified or required beyond applying the official patch.
CVE-2026-33244: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in remix-run react-router
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.
CVSS v3.1
Score 5.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
React Router versions 7.5.1 through 7.13.1, when used in Framework Mode with pre-rendering enabled, improperly neutralize the HTTP Location header value. This flaw permits Cross-Site Scripting (CWE-79) in the statically generated HTML files if the redirect location originates from an untrusted source. The vulnerability does not affect applications using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>). The issue is resolved in version 7.13.2.
Potential Impact
Successful exploitation can lead to limited impact Cross-Site Scripting attacks, potentially allowing an attacker to execute scripts in the context of the affected application’s statically generated pages. This may result in partial confidentiality and integrity loss of user data within the affected context. There is no impact on availability. The vulnerability requires user interaction and low complexity to exploit but does require some privileges (PR:L).
Mitigation Recommendations
A fix is available in react-router version 7.13.2. Users should upgrade to this version to remediate the vulnerability. There is no indication that this vulnerability affects cloud services or that vendor-managed remediation applies. No additional mitigations are specified or required beyond applying the official patch.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-18T02:42:27.509Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1f1074e29bf47b50e96292
Added to database: 6/2/2026, 5:18:44 PM
Last enriched: 6/2/2026, 5:35:15 PM
Last updated: 6/3/2026, 4:27:04 AM
Views: 24
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.