CVE-2026-139994: React Router · Cross-site Scripting due to escapeHtml use in meta refresh HTML attributes
Affects react-routerSource GCVE Database
Not known to be exploited · CVSS 4.7 Medium : upgrade to 8.4.0 when convenient.
Data as of 1 Dec 2026, 04:17 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.7 |
|---|
- Patch
- Available – fixed in 8.4.0, 7.18.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade react-router to 8.4.0; react-router to 7.18.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmreact-router | Affected
| Fixed in
|
| npmreact-router | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by upgrading React Router to versions 7.18.4 or 8.4.0 or later. Since this is a server-side rendering issue involving untrusted input in redirects, ensure that all redirect destinations are properly validated or sanitized if upgrading is not immediately possible.
Description
React Router versions 7.11.0 through 7.18.3 and 8.0.0 through 8.3.9 contain a cross-site scripting (XSS) vulnerability in its unstable React Server Components support. This flaw arises when rendering redirects with untrusted input in server-side HTML, potentially allowing JavaScript execution in the application's origin. The vulnerability affects the RSC Data and RSC Framework modes. A fix is available in versions 7.18.4 and 8.4.0.
References
- github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-139994 (opens in a new tab)
- github.com/remix-run/react-router/pull/15491 (opens in a new tab)
- github.com/remix-run/react-router/pull/15492 (opens in a new tab)
- github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573 (opens in a new tab)
- github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7 (opens in a new tab)
- github.com/remix-run/react-router (opens in a new tab)
- github.com/remix-run/react-router/blob/main/CHANGELOG.md (opens in a new tab)
- github.com/remix-run/react-router/blob/v7/CHANGELOG.md (opens in a new tab)
- github.com/remix-run/react-router/releases/tag/react-router@7.18.4 (opens in a new tab)
- github.com/remix-run/react-router/releases/tag/react-router@8.4.0 (opens in a new tab)