2026-07-27 21:42CVE-2026-53668GitHub_M
PUBLISHED5.2CWE-601CWE-79

React Router: Open redirect can lead to XSS

React Router is a router for React. In versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, applications that allow open redirects are vulnerable to XSS. An attacker could craft a malicious link that redirects users to an unexpected external site or that exploits an XSS vector.This issue has been fixed in version 7.13.0.

Problem type

Affected products

remix-run

react-router

>= 6.30.2, <= 6.30.4 - AFFECTED

>= 7.9.6, < 7.13.0 - AFFECTED

References

GitHub Security Advisories

GHSA-jjmj-jmhj-qwj2

React Router: Open redirect leading to XSS

https://github.com/advisories/GHSA-jjmj-jmhj-qwj2

Applications with open redirects could permit attacker crafted links to result in redirects to unexpected external location or XSS vectors.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-53668
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-53668",
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "dateUpdated": "2026-07-28T13:44:11.335Z",
    "dateReserved": "2026-06-09T20:50:36.877Z",
    "datePublished": "2026-07-27T21:42:17.641Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M",
        "dateUpdated": "2026-07-27T21:42:17.641Z"
      },
      "title": "React Router: Open redirect can lead to XSS",
      "descriptions": [
        {
          "lang": "en",
          "value": "React Router is a router for React. In versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, applications that allow open redirects are vulnerable to XSS. An attacker could craft a malicious link that redirects users to an unexpected external site or that exploits an XSS vector.This issue has been fixed in version 7.13.0."
        }
      ],
      "affected": [
        {
          "vendor": "remix-run",
          "product": "react-router",
          "versions": [
            {
              "version": ">= 6.30.2, <= 6.30.4",
              "status": "affected"
            },
            {
              "version": ">= 7.9.6, < 7.13.0",
              "status": "affected"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-601: URL Redirection to Untrusted Site ('Open Redirect')",
              "cweId": "CWE-601",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
              "cweId": "CWE-79",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/remix-run/react-router/security/advisories/GHSA-jjmj-jmhj-qwj2",
          "name": "https://github.com/remix-run/react-router/security/advisories/GHSA-jjmj-jmhj-qwj2",
          "tags": [
            "x_refsource_CONFIRM"
          ]
        },
        {
          "url": "https://github.com/remix-run/react-router/pull/14718",
          "name": "https://github.com/remix-run/react-router/pull/14718",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/remix-run/react-router/commit/3a5b5ad0e5cf9918c646509563f5c41a89226ff3",
          "name": "https://github.com/remix-run/react-router/commit/3a5b5ad0e5cf9918c646509563f5c41a89226ff3",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180",
          "name": "https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0",
          "name": "https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0",
          "tags": [
            "x_refsource_MISC"
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N",
            "attackVector": "NETWORK",
            "attackComplexity": "HIGH",
            "privilegesRequired": "NONE",
            "userInteraction": "REQUIRED",
            "scope": "CHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "LOW",
            "availabilityImpact": "NONE",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM"
          }
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-07-28T13:44:11.335Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}