CVE-2026-139994
MEDIUM 4.7CVSS 3.1React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>
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.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-79
- Also known as
- GHSA-mjj8-rxh9-q8f5
- Sources
- NVDJSONCVE ListJSONOSV GHSA-mjj8-rxh9-q8f5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | remix-run | react-router | = >= 7.11.0, < 7.18.4; = >= 8.0.0, < 8.4.0 | |
| OSV | npm | react-router | >= 8.0.0, < 8.4.0 | 8.4.0 |
| OSV | npm | react-router | >= 7.11.0, < 7.18.4 | 7.18.4 |
References
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/pull/15491 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/pull/15492 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5 · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-139994 · ADVISORY
- https://github.com/remix-run/react-router · PACKAGE
History
- 1 Dec 2026 14:27 UTC · NVD: updated (other details)
- 1 Dec 2026 14:04 UTC · CVE List: updated (other details)
- 1 Dec 2026 03:16 UTC · OSV: first stored (published 1 Dec 2026)
- 30 Nov 2026 21:25 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 21:08 UTC · CVE List: first stored (published 30 Nov 2026)