# CVE-2026-33244: React Router has stored XSS via unescaped Location header in prerendered redirect HTML

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-02T16:59:31.104Z
- Modified: 2026-09-08T16:45:04.231Z
- Also known as: GHSA-f22v-gfqf-p8f3
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- remix-run react-router: >= 7.5.1, < 7.13.2
- react-router (npm): from 7.5.1 before 7.13.2
- shopify react-router: from 7.5.1 before 7.13.2

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/remix-run/react-router/security/advisories/GHSA-f22v-gfqf-p8f3> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33244> (advisory)
- <https://github.com/remix-run/react-router/pull/14880> (web)
- <https://github.com/remix-run/react-router/commit/ea28e66926460656815cee9b7f2dfaa872513a8c> (web)
- <https://github.com/remix-run/react-router> (package)
- <https://github.com/remix-run/react-router/blob/react-router%407.13.2/CHANGELOG.md#v7132> (web)

## Sources

- CVE List: [CVE-2026-33244](https://www.cve.org/CVERecord?id=CVE-2026-33244), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-f22v-gfqf-p8f3](https://github.com/advisories/GHSA-f22v-gfqf-p8f3), CC-BY-4.0, modified 2026-09-08
- NVD: [CVE-2026-33244](https://nvd.nist.gov/vuln/detail/CVE-2026-33244), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-33244 · Whole record: https://cve.day/CVE-2026-33244.json · Rebuilt by cve.day 2026-11-25T22:59:23.583Z
