{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "7.5.1"
              },
              {
                "fixed": "7.13.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "5dd7c1580f2d782bded3f906a66d57005b083db9"
            },
            {
              "fixed": "aadb56fa532e0eaf7e7b91c1d88e1f325851eb04"
            }
          ],
          "repo": "https://github.com/remix-run/react-router",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f22v-gfqf-p8f3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33244.json"
  },
  "details": "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 (`\u003cBrowserRouter\u003e`) or Data Mode (`createBrowserRouter/\u003cRouterProvider\u003e`). This is patched in version 7.13.2.",
  "id": "CVE-2026-33244",
  "modified": "2026-07-08T05:38:37.446235042Z",
  "published": "2026-06-02T16:59:31.104Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33244.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/remix-run/react-router/security/advisories/GHSA-f22v-gfqf-p8f3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33244"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "React Router has stored XSS via unescaped Location header in prerendered redirect HTML"
}