{"id":"CVE-2026-33244","published":"2026-06-02T16:59:31Z","modified":"2026-06-02T17:28:13Z","title":"React Router has stored XSS via unescaped Location header in prerendered redirect HTML","vendor":"remix-run","product":"react-router","tier":"tail","description":{"text":"React Router is a router for React. In versions 7.5.1 through 7.13.1, when using Framework Mode with pre-rendering enabled, improper neutralization of the HTTP `Location` header value can permit Cross-Site Scripting (XSS) in the statically generated HTML files if the redirect location comes from an untrusted source. This does not impact applications using Declarative Mode (`<BrowserRouter>`) or Data Mode (`createBrowserRouter/<RouterProvider>`). This is patched in version 7.13.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00144,"percentile":0.03797,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-f22v-gfqf-p8f3","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":0.76},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"remix-run","affectedVersions":[{"vendor":"remix-run","product":"react-router","versions":[">= 7.5.1, < 7.13.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-02T17:28:07.247227Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"react-router","vulnerableRanges":[">=7.5.1, <7.13.2"],"patched":["7.13.2"],"from":["GHSA-f22v-gfqf-p8f3"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting issue in React Router, specifically in Framework Mode with pre-rendering enabled, where the HTTP Location header value used for redirects is not properly neutralized in the statically generated HTML files. An attacker who can influence a redirect location that comes from an untrusted source can inject script into those pages, which requires low privileges and user interaction, and it does not affect applications using Declarative Mode or Data Mode.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:12Z"},"euvd":{"id":"EUVD-2026-33986","exploited":false,"provenance":"source"}}