{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.0.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "21c80f5993afef8522cadd460d39ecfb363b3868"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "3.1.0.beta1"
              },
              {
                "fixed": "3.1.0.beta5"
              }
            ]
          },
          "events": [
            {
              "introduced": "17daf077e2f11def391859f83d294bb71760b1cf"
            },
            {
              "fixed": "286dfcacb44b76f1a3a89d85c4602ef957bebac0"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-p2jx-m2j5-hqh4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-116"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32301.json"
  },
  "details": "Discourse is an open source discussion platform. Prior to version 3.0.4 of the `stable` branch and version 3.1.0.beta5 of the `beta` and `tests-passed` branches, multiple duplicate topics could be created if topic embedding is enabled. This issue is patched in version 3.0.4 of the `stable` branch and version 3.1.0.beta5 of the `beta` and `tests-passed` branches. As a workaround, disable topic embedding if it has been enabled.",
  "id": "CVE-2023-32301",
  "modified": "2026-03-13T21:46:54.758631091Z",
  "published": "2023-06-13T21:35:38.188Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32301.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/discourse/discourse/security/advisories/GHSA-p2jx-m2j5-hqh4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32301"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Discourse's canonical url not being used for topic embeddings"
}