Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply attacker-controlled redirect destination
-
ExploitServer renders value unescaped into meta-refresh attribute
-
ExecutionVictim's browser parses injected markup
-
ImpactExecute JavaScript in application origin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to run React Router's unstable RSC Data mode or RSC Framework mode AND to use attacker-controlled input as a redirect destination that is rendered into server-generated HTML (written unescaped into a |
| Impact | This is a moderate, conditional XSS (CWE-79), not an urgent priority. The input CVSS of 4.7 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N) reflects network reach and no authentication (PR:N) but required user interaction (UI:R) and a scope change (S:C) because injected script runs in the application's origin. No KEV listing and no EPSS score were provided, and no verified exploit code is referenced - only vendor commits, PRs, the changelog, and the GHSA advisory, which are fix artifacts, not weaponized exploits. The vuln.today decision label is 'this_month', consistent with a real-but-not-emergency issue. The dominant limiting signal is that both affected code paths are explicitly 'unstable' React Server Components features (RSC Data mode and RSC Framework mode) and exploitation further requires the application to route attacker-controlled input into a redirect destination during server-side HTML rendering - a narrow, non-default deployment pattern. So while react-router as a library is extremely widespread, the actually-vulnerable surface is small. One signal to verify independently: CVSS impact was scored C:N/I:L, but origin-level JavaScript execution typically also enables confidentiality impact (session/DOM access), which my independent assessment reflects. |
| Exploit ScenarioDerived | An application built on React Router's unstable RSC Data or RSC Framework mode uses untrusted input (e.g., a user-supplied 'next'/return URL) as a redirect destination. During server-side rendering, the attacker crafts a redirect value that breaks out of the meta-refresh 'content' attribute, so the server emits HTML that executes attacker JavaScript in the app's origin when a victim loads the response. No public, verified exploit code is referenced in the available data, and successful exploitation requires the victim to load the attacker-influenced rendered page (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Cross-site scripting in React Router's experimental React Server Components modes (RSC Data and RSC Framework) lets an attacker-controlled redirect destination break out of the HTML attribute it is written into and execute JavaScript in the application's origin. The affected range is the npm react-router package from 7.11.0 before 7.18.4, and the 8.x line from 8.0.0 before 8.4.0; the flaw is reachable by unauthenticated remote attackers (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C) but only where an application both enables an unstable RSC mode and feeds untrusted input into a redirect location during server-side rendering, with a victim then loading the rendered response. Severity is moderate (4.7 as published, with the impact assessed as low confidentiality and low integrity), no public exploit code was identified at time of analysis, and vendor patches are released as 7.18.4 and 8.4.0.
RemediationAI
Vendor-released patch: upgrade react-router to 7.18.4 on the 7.x branch or 8.4.0 on the 8.x branch, which replace escapeHtml with an attribute-aware escapeAttribute helper when interpolating redirect locations into the meta refresh tag (commits c58d7152420614d6879db851aa1c74f826ddd573 and e0c6b5bce96f249a71b1fc395000c6b2742c57d7, PRs 15491 and 15492, advisory GHSA-mjj8-rxh9-q8f5). Where an immediate upgrade is not possible, the practical compensating controls are to stop using the unstable RSC Data and RSC Framework modes in production until patched, accepting the loss of that rendering path, or to ensure redirect destinations rendered during server-side HTML generation are never derived from request-controlled input - for example by mapping user input through a fixed allowlist of internal paths before redirecting, at the cost of blocking legitimate open-redirect-style flows to arbitrary destinations. Applications that do not use RSC rendering require no change for this specific issue.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
React Router's unstable RSC support streams server-rendered HTML and, when a route redirect occurs, emits a meta refresh element of the form <meta http-equiv="refresh" content="0;url=LOCATION">. The redirect location is concatenated directly into the content attribute of that tag. Before the fix, the code applied escapeHtml(), which neutralizes &, <, > and the U+2028/U+2029 line separators but leaves double quotes untouched; a crafted redirect destination containing a quote character can therefore terminate the attribute value and inject new attributes or an event handler into the server-generated markup, which the victim's browser evaluates in the application's origin. This is a classic CWE-79 cross-site scripting flaw arising from context-mismatched output encoding: the value lands in an attribute context, so an attribute-aware escaper is required. The upstream commit moves an escapeAttribute() helper into the shared markup module and switches both the initial redirect and the retry redirect paths in routeRSCServerRequest from escapeHtml() to escapeAttribute(), which additionally encodes double quotes. The CVSS scope change (S:C) reflects that script runs with the origin's privileges; the UI:R component captures that a victim must load the poisoned server-rendered response, and the assessed impact is limited to low confidentiality and low integrity with no availability effect.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Remote, no auth (PR:N) but victim must load the rendered page (UI:R); script runs in the app origin (S:C) enabling data read and page manipulation, so C:L/I:L.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
React Router is a router for React. From 7.11.0 until 7.18.4 and 8.4.0, react Router's unstable RSC Data mode and RSC Framework mode render redirects containing an attacker-controlled redirect destination into server-generated HTML without safely escaping the value. During server-side HTML rendering, crafted redirect input can break out of its HTML attribute context and execute JavaScript in the application's origin. This issue is fixed in versions 7.18.4 and 8.4.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-139690
GHSA-mjj8-rxh9-q8f5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB