CVE-2022-21677
mediumpriority · track · 21EPSS 0.012 · 67 %ileEUUSEPSS · scored 2026-10-27
Discourse is an open source discussion platform. Discourse groups can be configured with varying visibility levels for the group as well as the group members. By default, a newly created group has its visibility set to public and the group's members visibility set to public as well. However, a group's visibility and the group's members visibility can be configured such that it is restricted to logged on users, members of the group or staff users. A vulnerability has been discovered in versions prior to 2.7.13 and 2.8.0.beta11 where the group advanced search option does not respect the group's visibility and members visibility level. As such, a group with restricted visibility or members visibility can be revealed through search with the right search option. This issue is patched in `stable` version 2.7.13, `beta` version 2.8.0.beta11, and `tests-passed` version 2.8.0.beta11 versions of Discourse. There are no workarounds aside from upgrading.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-discourse-2022-21677Group advanced search option may leak group and group's members visibility 2024-03-06vendor · osvUS
Discourse is an open source discussion platform. Discourse groups can be configured with varying visibility levels for the group as well as the group members. By default, a newly created group has its visibility set to public and the group's members visibility set to public as well. However, a group's visibility and the group's members visibility can be configured such that it is restricted to logged on users, members of the group or staff users. A vulnerability has been discovered in versions prior to 2.7.13 and 2.8.0.beta11 where the group advanced search option does not respect the group's visibility and members visibility level. As such, a group with restricted visibility or members visibility can be revealed through search with the right search option. This issue is patched in `stable` version 2.7.13, `beta` version 2.8.0.beta11, and `tests-passed` version 2.8.0.beta11 versions of Discourse. There are no workarounds aside from upgrading.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/discourse/discourse/commit/fff8b98485561b12d070c0a8c39f4e503813ab44cnnvd
- https://github.com/discourse/discourse/security/advisories/GHSA-768r-ppv4-5r27cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-21677cnnvd
- https://github.com/discourse/discourse/commit/fff8b98485561b12d070c0a8c39f4e503813ab44enisa_euvd
- https://github.com/discourse/discourse/security/advisories/GHSA-768r-ppv4-5r27enisa_euvd
- https://github.com/discourse/discourse/commit/fff8b98485561b12d070c0a8c39f4e503813ab44PatchThird Party Advisorynvd
- https://github.com/discourse/discourse/security/advisories/GHSA-768r-ppv4-5r27Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan