Skip to main content
VulnerabilityPublished

CVE-2026-139994: React Router · Cross-site Scripting due to escapeHtml use in meta refresh HTML attributes

Affects react-routerSource GCVE Database

0
Compare
Authoritative record:CVE-2026-139994· Medium 4.7

Not known to be exploited · CVSS 4.7 Medium : upgrade to 8.4.0 when convenient.

Data as of 1 Dec 2026, 04:17 UTC

CVSS 3.1 base score
4.7Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.14.7
Patch
Available – fixed in 8.4.0, 7.18.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade react-router to 8.4.0; react-router to 7.18.4.

Affected software

ProductAffectedFixed in
npmreact-routerAffected
  • >=8.0.0 <8.4.0
Fixed in
  • 8.4.0
npmreact-routerAffected
  • >=7.11.0 <7.18.4
Fixed in
  • 7.18.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and should be applied by upgrading React Router to versions 7.18.4 or 8.4.0 or later. Since this is a server-side rendering issue involving untrusted input in redirects, ensure that all redirect destinations are properly validated or sanitized if upgrading is not immediately possible.

Description

React Router versions 7.11.0 through 7.18.3 and 8.0.0 through 8.3.9 contain a cross-site scripting (XSS) vulnerability in its unstable React Server Components support. This flaw arises when rendering redirects with untrusted input in server-side HTML, potentially allowing JavaScript execution in the application's origin. The vulnerability affects the RSC Data and RSC Framework modes. A fix is available in versions 7.18.4 and 8.4.0.

References

Community reviews

Loading reviews…