4.7
MEDIUM CVSS 3.1
CVE-2026-139994
React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>
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.

INFO

Published Date :

Nov. 30, 2026, 9:17 p.m.

Last Modified :

Nov. 30, 2026, 9:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-139994 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Shopify react-router
1 Remix-run react-router
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM MITRE-CVE
CVSS 3.1 MEDIUM [email protected]
Solution
Update React Router to a patched version to prevent XSS via crafted redirect destinations.
  • Update React Router to version 7.18.4 or later.
  • Update React Router to version 8.4.0 or later.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139994 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139994 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139994 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139994 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Nov. 30, 2026

    Action Type Old Value New Value
    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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
    Added CWE CWE-79
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139994.json">CVE-2026-139994</a>
    Added Reference https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840
    Added Reference https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184
    Added Reference https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573
    Added Reference https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7
    Added Reference https://github.com/remix-run/react-router/pull/15491
    Added Reference https://github.com/remix-run/react-router/pull/15492
    Added Reference https://github.com/remix-run/react-router/releases/tag/[email protected]
    Added Reference https://github.com/remix-run/react-router/releases/tag/[email protected]
    Added Reference https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.