{"api_version":"1","generated_at":"2026-12-01T13:45:16+00:00","cve":"CVE-2026-139994","urls":{"html":"https://cve.report/CVE-2026-139994","api":"https://cve.report/api/cve/CVE-2026-139994.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139994","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139994"},"summary":{"title":"React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-11-30 21:17:30","updated_at":"2026-11-30 21:17:30"},"problem_types":["CWE-79","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"4.7","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"4.7","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573","name":"https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4","name":"https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184","name":"https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/remix-run/react-router/pull/15491","name":"https://github.com/remix-run/react-router/pull/15491","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5","name":"https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0","name":"https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/remix-run/react-router/pull/15492","name":"https://github.com/remix-run/react-router/pull/15492","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840","name":"https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7","name":"https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139994","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139994","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"remix-run","product":"react-router","version":"affected >= 7.11.0, < 7.18.4","platforms":[]},{"source":"CNA","vendor":"remix-run","product":"react-router","version":"affected >= 8.0.0, < 8.4.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"react-router","vendor":"remix-run","versions":[{"status":"affected","version":">= 7.11.0, < 7.18.4"},{"status":"affected","version":">= 8.0.0, < 8.4.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-30T20:57:32.630Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5","tags":["x_refsource_CONFIRM"],"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5"},{"name":"https://github.com/remix-run/react-router/pull/15491","tags":["x_refsource_MISC"],"url":"https://github.com/remix-run/react-router/pull/15491"},{"name":"https://github.com/remix-run/react-router/pull/15492","tags":["x_refsource_MISC"],"url":"https://github.com/remix-run/react-router/pull/15492"},{"name":"https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573","tags":["x_refsource_MISC"],"url":"https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573"},{"name":"https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7","tags":["x_refsource_MISC"],"url":"https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7"},{"name":"https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840","tags":["x_refsource_MISC"],"url":"https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840"},{"name":"https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184","tags":["x_refsource_MISC"],"url":"https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184"},{"name":"https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4","tags":["x_refsource_MISC"],"url":"https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4"},{"name":"https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0","tags":["x_refsource_MISC"],"url":"https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0"}],"source":{"advisory":"GHSA-mjj8-rxh9-q8f5","discovery":"UNKNOWN"},"title":"React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for <meta refresh>"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-139994","datePublished":"2026-11-30T20:57:32.630Z","dateReserved":"2026-11-30T17:42:59.709Z","dateUpdated":"2026-11-30T20:57:32.630Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 21:17:30","lastModifiedDate":"2026-11-30 21:17:30","problem_types":["CWE-79","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":1.4}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139994","Ordinal":"1","Title":"React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape","CVE":"CVE-2026-139994","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139994","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape"}]}}}