{"id":"GHSA-mjj8-rxh9-q8f5","summary":"React Router: Cross-site Scripting due to escapeHtml use in meta refresh HTML attributes","details":"React Router’s unstable React Server Components support contains a cross-site scripting vulnerability when rendering redirects containing untrusted input, potentially allowing JavaScript execution in the application’s origin.\n\n**Affected Modes:** RSC Data (unstable) and RSC Framework (unstable).\n\nExploitation requires an application to use attacker-controlled input as a redirect destination during server-side HTML rendering.","aliases":["CVE-2026-139994"],"modified":"2026-12-01T02:45:04.351410782Z","published":"2026-12-01T02:31:25Z","database_specific":{"nvd_published_at":"2026-11-30T21:17:30Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-12-01T02:31:25Z"},"references":[{"type":"WEB","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"},{"type":"WEB","url":"https://github.com/remix-run/react-router/pull/15491"},{"type":"WEB","url":"https://github.com/remix-run/react-router/pull/15492"},{"type":"WEB","url":"https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573"},{"type":"WEB","url":"https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7"},{"type":"PACKAGE","url":"https://github.com/remix-run/react-router"},{"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":"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"}],"affected":[{"package":{"name":"react-router","ecosystem":"npm","purl":"pkg:npm/react-router"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-mjj8-rxh9-q8f5/GHSA-mjj8-rxh9-q8f5.json"}},{"package":{"name":"react-router","ecosystem":"npm","purl":"pkg:npm/react-router"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.11.0"},{"fixed":"7.18.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-mjj8-rxh9-q8f5/GHSA-mjj8-rxh9-q8f5.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"}]}