CVE-2026-139994
React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>
- Severity
- medium CVSS 4.7 (v3.1)
- Affects
- react-router · remix-run
- Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
- Published
- 30 November 2026 by GitHub_M
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.