{"id":"CVE-2022-24782","summary":"Secure category names leaked via user activity export in Discourse","details":"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.","aliases":["BIT-discourse-2022-24782","GHSA-c3cq-w899-f343"],"modified":"2026-09-29T11:46:40.592934557Z","published":"2022-03-24T20:35:10Z","database_specific":{"cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24782.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24782.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-c3cq-w899-f343"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24782"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/9d5737fd28374cc876c070f6c3a931a8071ec356"},{"type":"FIX","url":"https://github.com/discourse/discourse/pull/16273"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"74ce2fe2e7caec7dd55fadc9cd3b785c4b5f7933"},{"fixed":"9d5737fd28374cc876c070f6c3a931a8071ec356"}],"database_specific":{"extracted_events":[{"introduced":"stable \u003c= 2.8.2"},{"last_affected":"stable \u003c= 2.8.2"},{"introduced":"beta \u003c= 2.9.0.beta3"},{"last_affected":"beta \u003c= 2.9.0.beta3"},{"introduced":"tests-passed \u003c= 2.9.0.beta3"},{"last_affected":"tests-passed \u003c= 2.9.0.beta3"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["beta \u003c= 2.9.0.beta3","stable \u003c= 2.8.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24782.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}