Original 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.
Affected software
- Discourse = 1.4.0= 1.7.0= 2.4.0= 2.5.0= 2.9.0= 2.8.0 Fixed in: 3.0.0 exact match
Details
- Published
- 2023-03-17
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- CWE
- CWE-200
- EPSS (30-day exploit probability)
- 0.53% (percentile 46)
References
- cve.org/CVE-2023-23622
- nvd.nist.gov/vuln/detail/CVE-2023-23622
- github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164
- github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f
- github.com/discourse/discourse/pull/20004
- github.com/discourse/discourse/pull/20005
- github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.