React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>
Summary
| CVE | CVE-2026-139994 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 21:17:30 UTC |
| Updated | 2026-11-30 21:17:30 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.7 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.7 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.7 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Remix-run | React-router | affected >= 7.11.0, < 7.18.4 | Not specified |
| CNA | Remix-run | React-router | affected >= 8.0.0, < 8.4.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f... | [email protected] | github.com | |
| github.com/remix-run/react-router/releases/tag/[email protected] | [email protected] | github.com | |
| github.com/remix-run/react-router/blob/v7/CHANGELOG.md | [email protected] | github.com | |
| github.com/remix-run/react-router/pull/15491 | [email protected] | github.com | |
| github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5 | [email protected] | github.com | |
| github.com/remix-run/react-router/releases/tag/[email protected] | [email protected] | github.com | |
| github.com/remix-run/react-router/pull/15492 | [email protected] | github.com | |
| github.com/remix-run/react-router/blob/main/CHANGELOG.md | [email protected] | github.com | |
| github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.