{"schemaVersion":4,"id":"CVE-2026-139994","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"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2026-11-30T20:57:32.630Z","modified":"2026-12-01T13:55:04.076Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","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","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","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","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","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","exploitability":7.2,"impact":2.3,"computed":true}]},"epss":{"probability":0.00627,"percentile":0.51514,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-01T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00627,"percentile":0.51514}],"last30":[{"date":"2026-12-01T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00627,"percentile":0.51514}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"chainguard","product":"airflow-2","name":"airflow-2","label":"airflow-2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/airflow-2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-26.8","name":"keycloak-26.8","label":"keycloak-26.8","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.8","purlType":"apk","versions":[{"text":"< 26.8.2-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"26.8.2-r3","endInclusive":false}}],"versionsText":"< 26.8.2-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-26.8-iamguarded-compat","name":"keycloak-26.8-iamguarded-compat","label":"keycloak-26.8-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.8-iamguarded-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 26.8.2-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"26.8.2-r3","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 26.8.2-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-24","name":"vitess-24","label":"vitess-24","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-24","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-24","name":"vitess-24","label":"vitess-24","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-24","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"Npm","product":"react-router","name":"react-router","label":"react-router","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/react-router","purlType":"npm","versions":[{"text":"≥ 8.0.0, < 8.4.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.0.0","startInclusive":true,"end":"8.4.0","endInclusive":false}},{"text":"≥ 7.11.0, < 7.18.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.11.0","startInclusive":true,"end":"7.18.4","endInclusive":false}}],"versionsText":"≥ 8.0.0, < 8.4.0 | ≥ 7.11.0, < 7.18.4","eol":null,"hubHref":null},{"vendor":"remix-run","product":"react-router","name":"react-router","label":"react-router","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.11.0, < 7.18.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.11.0","startInclusive":true,"end":"7.18.4","endInclusive":false}},{"text":"≥ 8.0.0, < 8.4.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.0.0","startInclusive":true,"end":"8.4.0","endInclusive":false}}],"versionsText":"≥ 7.11.0, < 7.18.4 | ≥ 8.0.0, < 8.4.0","eol":null,"hubHref":"/vendor/remix-run/react-router"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5","label":"github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/remix-run/react-router/pull/15491","label":"github.com/remix-run/react-router/pull/15491","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/remix-run/react-router/pull/15492","label":"github.com/remix-run/react-router/pull/15492","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573","label":"github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7","label":"github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840","label":"github.com/remix-run/react-router/blob/main/CHANGELOG.md","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184","label":"github.com/remix-run/react-router/blob/v7/CHANGELOG.md","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4","label":"github.com/remix-run/react-router/releases/tag/react-router@7.18.4","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0","label":"github.com/remix-run/react-router/releases/tag/react-router@8.4.0","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139994","label":"nvd.nist.gov/vuln/detail/CVE-2026-139994","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/remix-run/react-router","label":"github.com/remix-run/react-router","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139994.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139994.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-30T20:57:32.630Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T13:55:04.076Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,47],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00627,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T13:55:04.076Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T13:55:04.076Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_npm","date":"2026-12-01T13:55:04.076Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-12-01T13:55:04.076Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_wolfi","date":"2026-12-01T13:55:04.076Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T13:30:30.376Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00627,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:21:14.833Z","stale":false,"partial":false}}