What’s Vulnerable › Vulnerabilities
CVE-2022-24804: Private group name exposure in discourse
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-04-11 · updated 2026-06-17
- Weakness: CWE-200
Description
Discourse is an open source platform for community discussion. In stable versions prior to 2.8.3 and beta versions prior 2.9.0.beta4 erroneously expose groups. When a group with restricted visibility has been used to set the permissions of a category, the name of the group is leaked to any user that is able to see the category. To workaround the problem, a site administrator can remove groups with restricted visibility from any category's permissions setting.
Affected products
- discourse: before 2.8.3; 2.9.0-beta1, 2.9.0-beta2, 2.9.0-beta3 — fixed in 2.8.3
How to fix
Upgrade to a fixed version: discourse 2.8.3. Check the vendor advisory for mitigations.
References
- https://github.com/discourse/discourse/commit/0f7b9878ff3207ce20970f0517604793920bb3d2
- https://github.com/discourse/discourse/security/advisories/GHSA-v4c9-6m9g-37ff
- https://github.com/discourse/discourse/commit/0f7b9878ff3207ce20970f0517604793920bb3d2
- https://github.com/discourse/discourse/security/advisories/GHSA-v4c9-6m9g-37ff
Get alerted when CVE-2022-24804 or the next vulnerability affects your stack