CVE-2026-139994
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| npm | react-router | >= 7.11.0, < 7.18.4 | 7.18.4 |
| npm | react-router | >= 8.0.0, < 8.4.0 | 8.4.0 |
| npm | react-router | >=8.0.0,<8.4.0 | 8.4.0 |
| npm | react-router | >=7.11.0,<7.18.4 | 7.18.4 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| remix-run | react-router | >= 7.11.0, < 7.18.4 | |
| remix-run | react-router | >= 8.0.0, < 8.4.0 | |
References
- 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/react-router@7.18.4
- https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0
- https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5
- https://nvd.nist.gov/vuln/detail/CVE-2026-139994
- https://github.com/advisories/GHSA-mjj8-rxh9-q8f5
- https://github.com/remix-run/react-router
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.