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.

Project Subscriptions

Vendors Products
Remix-run Subscribe
React-router Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mjj8-rxh9-q8f5 React Router: Cross-site Scripting due to escapeHtml use in meta refresh HTML attributes
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Remix-run
Remix-run react-router
Vendors & Products Remix-run
Remix-run react-router

Wed, 02 Dec 2026 10:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 02 Dec 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 30 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-01T13:55:04.076Z

Reserved: 2026-11-30T17:42:59.709Z

Link: CVE-2026-139994

cve-icon Vulnrichment

Updated: 2026-12-01T13:30:32.412Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-30T21:17:30.993

Modified: 2026-12-04T15:47:41.367

Link: CVE-2026-139994

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-30T20:57:32Z

Links: CVE-2026-139994 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-12-04T03:00:08Z

Weaknesses