CVE-2026-139994

React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>

Published Nov 30, 2026 CVSS 3.1 · 4.7 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 30, 2026, 8:57 PM
Reserved
Nov 30, 2026, 5:42 PM
Status
Received
Published
Nov 30, 2026, 9:17 PM
Modified
Nov 30, 2026, 9:17 PM