{"id":"GHSA-f22v-gfqf-p8f3","revision":"b425c18a9e8e4375bd07b68314d7faf5","records":[{"revision":"b425c18a9e8e4375bd07b68314d7faf5","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-f22v-gfqf-p8f3","aliases":["CVE-2026-33244"],"title":"React Router has stored XSS via unescaped Location header in prerendered redirect HTML","description":"When using React Router v7 [Framework Mode](https://reactrouter.com/start/modes#framework) with [Pre-rendering](https://reactrouter.com/how-to/pre-rendering) enabled, an improper neutralization of the HTTP `Location` header value can permit Cross-Site Scripting (XSS) in statically generated HTML files if the redirect location comes from an untrusted source.\n\n> [!NOTE]\n> This does not impact your React Router application if you are using [Declarative Mode](https://reactrouter.com/start/modes#declarative) (`<BrowserRouter>`) or [Data Mode](https://reactrouter.com/start/modes#data) (`createBrowserRouter`/`<RouterProvider>`).","state":0,"publishedAt":"2026-06-03T20:33:01+00:00","modifiedAt":"2026-09-08T16:45:04.2319641+00:00","affected":[{"ecosystem":"npm","name":"react-router","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"7.5.1"},{"kind":"fixed","version":"7.13.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/remix-run/react-router/security/advisories/GHSA-f22v-gfqf-p8f3","https://nvd.nist.gov/vuln/detail/CVE-2026-33244","https://github.com/remix-run/react-router/pull/14880","https://github.com/remix-run/react-router/commit/ea28e66926460656815cee9b7f2dfaa872513a8c","https://github.com/remix-run/react-router","https://github.com/remix-run/react-router/blob/react-router%407.13.2/CHANGELOG.md#v7132"],"sourceUrl":"https://github.com/advisories/GHSA-f22v-gfqf-p8f3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-f22v-gfqf-p8f3","identifiers":["GHSA-f22v-gfqf-p8f3","CVE-2026-33244"]},"retained":false,"historicalAffected":[]}],"coverage":[]}