{"id":"CVE-2026-139994","summary":"React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for \u003cmeta refresh\u003e","details":"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.","aliases":["GHSA-mjj8-rxh9-q8f5"],"modified":"2026-11-30T22:00:12.708982137Z","published":"2026-11-30T20:57:32.630Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139994.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139994.json"},{"type":"WEB","url":"https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840"},{"type":"WEB","url":"https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184"},{"type":"FIX","url":"https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573"},{"type":"FIX","url":"https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7"},{"type":"FIX","url":"https://github.com/remix-run/react-router/pull/15491"},{"type":"FIX","url":"https://github.com/remix-run/react-router/pull/15492"},{"type":"WEB","url":"https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4"},{"type":"WEB","url":"https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0"},{"type":"ADVISORY","url":"https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139994"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/remix-run/react-router","events":[{"introduced":"b34a9cd1f74231ded97c1e6ca9dff8f09a1b87ca"},{"fixed":"1b1e0b0e79b21692ce907933475233babdd16e3e"},{"introduced":"36122b36a8c183dfbe4bcd278c585a80617c921e"},{"fixed":"7ccdcecdd944e15be0cd0dcb702b86c9af1214a8"},{"fixed":"c58d7152420614d6879db851aa1c74f826ddd573"},{"fixed":"e0c6b5bce96f249a71b1fc395000c6b2742c57d7"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"7.11.0"},{"fixed":"7.18.4"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"introduced":"8.0.0"},{"fixed":"8.4.0"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"c58d7152420614d6879db851aa1c74f826ddd573"}]},{"range":[{"fixed":"e0c6b5bce96f249a71b1fc395000c6b2742c57d7"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"react-router@7.18.4","range":[{"fixed":"1b1e0b0e79b21692ce907933475233babdd16e3e"}]},{"range":[{"fixed":"7ccdcecdd944e15be0cd0dcb702b86c9af1214a8"}],"source":"REFERENCES_TAG","original_tag":"react-router@8.4.0"}]}}],"versions":["react-router@8.3.1","create-react-router@8.3.1","@react-router/serve@8.3.1","@react-router/remix-routes-option-adapter@8.3.1","@react-router/node@8.3.1","@react-router/fs-routes@8.3.1","@react-router/express@8.3.1","@react-router/dev@8.3.1","@react-router/cloudflare@8.3.1","@react-router/architect@8.3.1","react-router@8.3.0","create-react-router@8.3.0","@react-router/serve@8.3.0","@react-router/remix-routes-option-adapter@8.3.0","@react-router/node@8.3.0","@react-router/fs-routes@8.3.0","@react-router/express@8.3.0","@react-router/dev@8.3.0","@react-router/cloudflare@8.3.0","@react-router/architect@8.3.0","react-router@8.2.0","create-react-router@8.2.0","@react-router/serve@8.2.0","@react-router/remix-routes-option-adapter@8.2.0","@react-router/node@8.2.0","@react-router/fs-routes@8.2.0","@react-router/express@8.2.0","@react-router/dev@8.2.0","@react-router/cloudflare@8.2.0","@react-router/architect@8.2.0","react-router@8.1.0","create-react-router@8.1.0","@react-router/serve@8.1.0","@react-router/remix-routes-option-adapter@8.1.0","@react-router/node@8.1.0","@react-router/fs-routes@8.1.0","@react-router/express@8.1.0","@react-router/dev@8.1.0","@react-router/cloudflare@8.1.0","@react-router/architect@8.1.0","react-router@8.0.1","create-react-router@8.0.1","@react-router/serve@8.0.1","@react-router/remix-routes-option-adapter@8.0.1","@react-router/node@8.0.1","@react-router/fs-routes@8.0.1","@react-router/express@8.0.1","@react-router/dev@8.0.1","@react-router/cloudflare@8.0.1","@react-router/architect@8.0.1","react-router@8.0.0","create-react-router@8.0.0","@react-router/serve@8.0.0","@react-router/remix-routes-option-adapter@8.0.0","@react-router/node@8.0.0","@react-router/fs-routes@8.0.0","@react-router/express@8.0.0","@react-router/dev@8.0.0","@react-router/cloudflare@8.0.0","@react-router/architect@8.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139994.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N"}]}