{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2026.1.0-latest"
              },
              {
                "fixed": "2026.1.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"
            },
            {
              "fixed": "b3f024ce9587e678216892cbd967201b2450e197"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2026.2.0-latest"
              },
              {
                "fixed": "2026.2.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "f7cec86997edc21d6074ceb7666f7e2e6e1b1fdf"
            },
            {
              "fixed": "4431801e7b5af883edb430643fdace7608ffb6fb"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2026.3.0-latest"
              },
              {
                "fixed": "2026.3.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "896e810e1b296478bba91559a8fc89a9926f11fe"
            },
            {
              "fixed": "896e810e1b296478bba91559a8fc89a9926f11fe"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-378j-ccw4-4fwh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32113.json"
  },
  "details": "Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.3, 2026.2.0-latest to before 2026.2.2, and 2026.3.0-latest to before 2026.3.0, the enter action in StaticController reads the sso_destination_url cookie and redirects to it with allow_other_host: true without validating the destination URL. While this cookie is normally set during legitimate DiscourseConnect Provider flows with cryptographically validated SSO payloads, cookies are client-controlled and can be set by attackers. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.",
  "id": "CVE-2026-32113",
  "modified": "2026-04-01T23:09:43.907093177Z",
  "published": "2026-03-31T17:39:25.820Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32113.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/080408b93d00305b51d71f63f755f43fa601884d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/discourse/discourse/security/advisories/GHSA-378j-ccw4-4fwh"
    },
    {
      "type": "WEB",
      "url": "https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32113"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Discourse: Open redirect via `sso_destination_url` cookie in `enter`"
}