{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.11.0"
                  },
                  {
                    "fixed": "7.18.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "fixed": "8.4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "c58d7152420614d6879db851aa1c74f826ddd573"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "e0c6b5bce96f249a71b1fc395000c6b2742c57d7"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "react-router@7.18.4",
                "range": [
                  {
                    "fixed": "1b1e0b0e79b21692ce907933475233babdd16e3e"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "react-router@8.4.0",
                "range": [
                  {
                    "fixed": "7ccdcecdd944e15be0cd0dcb702b86c9af1214a8"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "b34a9cd1f74231ded97c1e6ca9dff8f09a1b87ca"
            },
            {
              "fixed": "1b1e0b0e79b21692ce907933475233babdd16e3e"
            },
            {
              "introduced": "36122b36a8c183dfbe4bcd278c585a80617c921e"
            },
            {
              "fixed": "7ccdcecdd944e15be0cd0dcb702b86c9af1214a8"
            },
            {
              "fixed": "c58d7152420614d6879db851aa1c74f826ddd573"
            },
            {
              "fixed": "e0c6b5bce96f249a71b1fc395000c6b2742c57d7"
            }
          ],
          "repo": "https://github.com/remix-run/react-router",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mjj8-rxh9-q8f5"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139994.json"
  },
  "details": "React Router is a router for React. From 7.11.0 until 7.18.4 and 8.4.0, react Router's unstable RSC Data mode and RSC Framework mode render redirects containing an attacker-controlled redirect destination into server-generated HTML without safely escaping the value. During server-side HTML rendering, crafted redirect input can break out of its HTML attribute context and execute JavaScript in the application's origin. This issue is fixed in versions 7.18.4 and 8.4.0.",
  "id": "CVE-2026-139994",
  "modified": "2026-11-30T21:45:24.488675387Z",
  "published": "2026-11-30T20:57:32.630Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139994.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840"
    },
    {
      "type": "WEB",
      "url": "https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184"
    },
    {
      "type": "FIX",
      "url": "https://github.com/remix-run/react-router/commit/c58d7152420614d6879db851aa1c74f826ddd573"
    },
    {
      "type": "FIX",
      "url": "https://github.com/remix-run/react-router/commit/e0c6b5bce96f249a71b1fc395000c6b2742c57d7"
    },
    {
      "type": "FIX",
      "url": "https://github.com/remix-run/react-router/pull/15491"
    },
    {
      "type": "FIX",
      "url": "https://github.com/remix-run/react-router/pull/15492"
    },
    {
      "type": "WEB",
      "url": "https://github.com/remix-run/react-router/releases/tag/react-router@7.18.4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/remix-run/react-router/releases/tag/react-router@8.4.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/remix-run/react-router/security/advisories/GHSA-mjj8-rxh9-q8f5"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139994"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "React Router: Cross-Site Scripting (XSS) - escapeHtml (JS-escape) used in HTML-attribute context for \u003cmeta refresh\u003e"
}