CVE-2026-139994React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>
- 4.7MediumCVSS base score
- 0.63%Exploitation in 30 daysEPSS · top 49% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| NVDNVD · Received | 3.1 | Medium4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.63% · top 49% of all CVEs (2 Dec 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.7.
Affected products
- affected >= 7.11.0, < 7.18.4
- affected >= 8.0.0, < 8.4.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmreact-routerGHSA-mjj8-rxh9-q8f5 (opens in a new tab)
References
References9
- https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/remix-run/react-router/pull/15491 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/pull/15492 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/releases/tag/[email protected] (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/releases/tag/[email protected] (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-139690 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mjj8-rxh9-q8f5 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-139994)Record last updated .