{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*",
              "cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*",
              "cpe:2.3:a:discourse:discourse:3.4.0:beta1:*:*:beta:*:*:*",
              "cpe:2.3:a:discourse:discourse:3.4.0:beta2:*:*:beta:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.3.3"
              },
              {
                "fixed": "3.4.0"
              },
              {
                "introduced": "3.4.0-beta1"
              },
              {
                "last_affected": "3.4.0-beta1"
              },
              {
                "introduced": "3.4.0-beta2"
              },
              {
                "last_affected": "3.4.0-beta2"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7066b89b18555d4dbdaeed8eebafeb63da950faf"
            },
            {
              "fixed": "4abee26a32a1bd38ec19dfd9f28074db17ebb33a"
            },
            {
              "introduced": "85abac4230da6114dfa95702d3529ca632fc0d06"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.4.0-beta1",
        "3.4.0-beta2",
        "beta: \u003c= 3.4.0.beta2",
        "stable: \u003c= 3.3.2"
      ]
    }
  ],
  "aliases": [
    "GHSA-cqw6-rr3v-8fff"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-200"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52589.json"
  },
  "details": "Discourse is an open source platform for community discussion. Moderators can see the Screened emails list in the admin dashboard, and through that can learn the email of a user. This problem is patched in the latest version of Discourse. Users unable to upgrade should remove moderator role from untrusted users.",
  "id": "CVE-2024-52589",
  "modified": "2026-07-08T05:36:30.385713826Z",
  "published": "2024-12-19T19:13:51.333Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52589.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/discourse/discourse/security/advisories/GHSA-cqw6-rr3v-8fff"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52589"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Moderators can view Screened emails even when the “moderators view emails” option is disabled in Discourse"
}