Home › CVE › JavaScript
CVE-2026-139994 — remix-run react-router
One of 2 remix-run react-router vulnerabilities published together by NVD: our article covers all of them.
JavaScriptReactWebNetwork devicesVulnerabilitiesSummary
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.
Severity breakdown
Medium · 4.7
An attacker without an account can exploit this over the network if a user is tricked into an action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on integrity, none on confidentiality and availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| remix-run react-router | >= 7.11.0, < 7.18.4, >= 8.0.0, < 8.4.0 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74…
- github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6…
- github.com/remix-run/react-router/pull/15491
- github.com/remix-run/react-router/pull/15492
- github.com/remix-run/react-router/releases/tag/react-router@7.18.4
- github.com/remix-run/react-router/releases/tag/react-router@8.4.0
Other references
Affected
- remix-run react-router
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-139994?
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. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-139994?
CVE-2026-139994 has a CVSS 3.1 base score of 4.7 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network if a user is tricked into an action.
Is CVE-2026-139994 being exploited?
Not as far as is known: CVE-2026-139994 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026.
Which versions are affected by CVE-2026-139994?
remix-run react-router >= 7.11.0, < 7.18.4, >= 8.0.0, < 8.4.0.
How do I fix CVE-2026-139994?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-139996 — remix-run react-router
- React2Keys Campaign Uses Next.js React2Shell Flaw to Harvest Credentials at Scale
- Joomla Extension Vulnerability Allows Stored XSS via Link Validation
- Joomla Extension Vulnerability Allows Stored XSS via Thumbnail Widget
- Joomla Extension Vulnerability Allows Stored XSS in Smart Slider 3