# CVE-2023-23622: Discourse: Presence of read restricted topics may be leaked if tagged with a tag that is visible to all users

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2023-03-17T14:17:17.427Z
- Modified: 2026-09-08T08:46:07.260Z
- Also known as: BIT-DISCOURSE-2023-23622, GHSA-2wvr-4x7w-v795
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open-source discussion platform. Prior to version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, the count of topics displayed for a tag is a count of all regular topics regardless of whether the topic is in a read restricted category or not. As a result, any users can technically poll a sensitive tag to determine if a new topic is created in a category which the user does not have excess to. 

In version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, the count of topics displayed for a tag defaults to only counting regular topics which are not in read restricted categories. Staff users will continue to see a count of all topics regardless of the topic's category read restrictions.

(As written by CVE List.)

## Affected

- discourse discourse: stable < 3.0.1; beta < 3.1.0.beta2; tests-passed < 3.1.0.beta2; before 3.0.0; 1.1.0; 1.2.0; 1.3.0; 1.4.0; 1.5.0
- discourse (Bitnami): before 3.0.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795> (advisory, vendor-advisory)
- <https://github.com/discourse/discourse/pull/20004> (fix, issue-tracking, patch)
- <https://github.com/discourse/discourse/pull/20005> (issue-tracking, report)
- <https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164> (fix, patch)
- <https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-23622> (web)

## Sources

- CVE List: [CVE-2023-23622](https://www.cve.org/CVERecord?id=CVE-2023-23622), CVE Terms of Use, modified 2025-02-25
- NVD: [CVE-2023-23622](https://nvd.nist.gov/vuln/detail/CVE-2023-23622), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2023-23622](https://osv.dev/vulnerability/BIT-DISCOURSE-2023-23622), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-23622 · Whole record: https://cve.day/CVE-2023-23622.json · Rebuilt by cve.day 2026-11-25T22:58:22.511Z
