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

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-11-30T20:57:32.630Z
- Modified: 2026-12-01T14:18:18.350Z
- Also known as: GHSA-mjj8-rxh9-q8f5
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- remix-run react-router: >= 7.11.0, < 7.18.4; >= 8.0.0, < 8.4.0
- react-router (npm): from 8.0.0 before 8.4.0; from 7.11.0 before 7.18.4

## Every score

- GitHub_M: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`

## References

- <https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5> (web)
- <https://github.com/remix-run/react-router/pull/15491> (web)
- <https://github.com/remix-run/react-router/pull/15492> (web)
- <https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573> (web)
- <https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7> (web)
- <https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840> (web)
- <https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184> (web)
- <https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4> (web)
- <https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-139994> (advisory)
- <https://github.com/remix-run/react-router> (package)

## Sources

- CVE List: [CVE-2026-139994](https://www.cve.org/CVERecord?id=CVE-2026-139994), CVE Terms of Use, modified 2026-12-01
- GitHub Advisory Database: [GHSA-mjj8-rxh9-q8f5](https://github.com/advisories/GHSA-mjj8-rxh9-q8f5), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-139994](https://nvd.nist.gov/vuln/detail/CVE-2026-139994), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139994 · Whole record: https://cve.day/CVE-2026-139994.json · Rebuilt by cve.day 2026-12-01T14:32:16.692Z
