CVE-2026-139994
published medium CVSS 3.1 · 4.7React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| remix-run | — | react-router>= 7.11.0, < 7.18.4 · >= 8.0.0, < 8.4.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| remix-run | react-router | >= 7.11.0, < 7.18.4 (affected)>= 8.0.0, < 8.4.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation
References
9- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840
- https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184
- https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573
- https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7
- https://github.com/remix-run/react-router/pull/15491
- https://github.com/remix-run/react-router/pull/15492
- https://github.com/remix-run/react-router/releases/tag/[email protected]
- https://github.com/remix-run/react-router/releases/tag/[email protected]
- https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5
Provider assertions
2GitHub_M · cna
React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bb9574bc718a9a040ff62a0dc85ac1e1a7786d9c0fafd9cfb59b5e745e9b9853
- Ingested
- 01 Dec 2026, 14:00:33 UTC
- Source record
- Official CVE record