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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-01
- Aliases: GHSA-mjj8-rxh9-q8f5, CGA-6jc5-xxfj-cj26, CGA-c743-4pxc-pfpq, CGA-mpv4-5v3w-mf66, CGA-3j8r-3hjj-fcpw, CGA-73xp-2r9j-wq56, CGA-g69j-wh26-vpgj, CGA-q3cf-x2xf-6wg3
- Record: https://cvemate.com/vulnerability/CVE-2026-139994 · JSON: https://cvemate.com/vulnerability/CVE-2026-139994/json

## Description

```text
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.
```

## Signals

- CVSS: 4.7 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
- EPSS: 0.627%, percentile 51.514%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard keycloak-26.8 (Chainguard): \< 26.8.2-r3
- chainguard keycloak-26.8-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 26.8.2-r3
- chainguard vitess-24 (Chainguard): All versions (No fix recorded)
- wolfi vitess-24 (Wolfi): All versions (No fix recorded)
- Npm react-router (Npm): ≥ 8.0.0, \< 8.4.0 \| ≥ 7.11.0, \< 7.18.4
- remix-run react-router: ≥ 7.11.0, \< 7.18.4 \| ≥ 8.0.0, \< 8.4.0

## References

- <https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5>
- <https://github.com/remix-run/react-router/pull/15491>
- <https://github.com/remix-run/react-router/pull/15492>
- <https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573>
- <https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7>
- <https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840>
- <https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184>
- <https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4>
- <https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-139994>
- <https://github.com/remix-run/react-router>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139994.json>

---

Data as of 2026-12-05T04:26:35.703Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
