Skip to content
Heist/ feed
Back to feed
Medium

Secure category names leaked via user activity export in Discourse

Type: advisorySources: OSV

Discourse is an open source discussion platform. Versions 2.8.2 and prior in the `stable` branch, 2.9.0.beta3 and prior in the `beta` branch, and 2.9.0.beta3 and prior in the `tests-passed` branch are vulnerable to a data leak. Users can request an export of their own activity. Sometimes, due to category settings, they may have category membership for a secure category. The name of this secure category is shown to the user in the export. The same thing occurs when the user's post has been moved to a secure category. A patch for this issue is available in the `main` branch of Discourse's GitHub repository and is anticipated to be part of future releases.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-24782
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:24 UTC · Revision 1

Source evidence

Secure category names leaked via user activity export in Discourse

core-osv · Original source

Published 24 Mar 2022, 20:35 UTC

Discourse is an open source discussion platform. Versions 2.8.2 and prior in the `stable` branch, 2.9.0.beta3 and prior in the `beta` branch, and 2.9.0.beta3 and prior in the `tests-passed` branch are vulnerable to a data leak. Users can request an export of their own activity. Sometimes, due to category settings, they may have category membership for a secure category. The name of this secure category is shown to the user in the export. The same thing occurs when the user's post has been moved to a secure category. A patch for this issue is available in the `main` branch of Discourse's GitHub repository and is anticipated to be part of future releases.

osv:CVE-2022-24782
Complete source record
{
  "id": "1fd7646f18424f635e6fe0ae7dc213d769649f060a6217ca897616f42fefb5da",
  "url": "https://osv.dev/vulnerability/CVE-2022-24782",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Secure category names leaked via user activity export in Discourse",
    "summary": "Discourse is an open source discussion platform. Versions 2.8.2 and prior in the `stable` branch, 2.9.0.beta3 and prior in the `beta` branch, and 2.9.0.beta3 and prior in the `tests-passed` branch are vulnerable to a data leak. Users can request an export of their own activity. Sometimes, due to category settings, they may have category membership for a secure category. The name of this secure category is shown to the user in the export. The same thing occurs when the user's post has been moved to a secure category. A patch for this issue is available in the `main` branch of Discourse's GitHub repository and is anticipated to be part of future releases.",
    "evidence": "osv:CVE-2022-24782",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-24782",
      "aliases": [
        "BIT-discourse-2022-24782",
        "CVE-2022-24782",
        "GHSA-c3cq-w899-f343"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/discourse/discourse",
              "type": "GIT",
              "events": [
                {
                  "introduced": "74ce2fe2e7caec7dd55fadc9cd3b785c4b5f7933"
                },
                {
                  "fixed": "9d5737fd28374cc876c070f6c3a931a8071ec356"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "stable <= 2.8.2"
                      },
                      {
                        "last_affected": "stable <= 2.8.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "beta <= 2.9.0.beta3"
                      },
                      {
                        "last_affected": "beta <= 2.9.0.beta3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "tests-passed <= 2.9.0.beta3"
                      },
                      {
                        "last_affected": "tests-passed <= 2.9.0.beta3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9d5737fd28374cc876c070f6c3a931a8071ec356"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "beta <= 2.9.0.beta3",
            "stable <= 2.8.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24782.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.268736982Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24782.json",
        "https://github.com/discourse/discourse/security/advisories/GHSA-c3cq-w899-f343",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-24782",
        "https://github.com/discourse/discourse/commit/9d5737fd28374cc876c070f6c3a931a8071ec356",
        "https://github.com/discourse/discourse/pull/16273"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24782.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-24782",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491869,
  "published_at": "2022-03-24T20:35:10+00:00"
}