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.
CVE-2026-139994
CVSS base score
4.7 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-79
Last modified
December 4, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N