{"id":"CVE-2023-23935","summary":"Presence of restricted personal Discourse messages may be leaked if tagged with a tag ","details":"Discourse is an open-source messaging platform. In versions 3.0.1 and prior on the `stable` branch and versions 3.1.0.beta2 and prior on the `beta` and `tests-passed` branches, the count of personal messages displayed for a tag is a count of all personal messages regardless of whether the personal message is visible to a given user. As a result, any users can technically poll a sensitive tag to determine if a new personal message is created even if the user does not have access to the personal message.\n\nIn the patched versions, the count of personal messages tagged with a given tag is hidden by default. To revert to the old behaviour of displaying the count of personal messages for a given tag, an admin may enable the `display_personal_messages_tag_counts` site setting.","aliases":["BIT-discourse-2023-23935","GHSA-rf8j-mf8c-82v7"],"modified":"2026-09-30T03:45:22.412935221Z","published":"2023-03-16T20:21:13.539Z","database_specific":{"cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23935.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"stable \u003c= 3.0.1"},{"last_affected":"stable \u003c= 3.0.1"},{"introduced":"beta \u003c= 3.1.0.beta2"},{"last_affected":"beta \u003c= 3.1.0.beta2"},{"introduced":"tests-passed \u003c= 3.1.0.beta2"},{"last_affected":"tests-passed \u003c= 3.1.0.beta2"}]}],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23935.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-rf8j-mf8c-82v7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23935"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/f31f0b70f82c43d93220ce6fc0d4f57440452f37"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"0"},{"fixed":"f31f0b70f82c43d93220ce6fc0d4f57440452f37"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v3.1.0.beta2","v3.1.0.beta1","v3.0.0.beta16","v3.0.0.beta15","v2.9.0.beta14","v2.9.0.beta13","v2.9.0.beta12","v2.9.0.beta11","v2.9.0.beta10","v2.9.0.beta9","v2.9.0.beta8","v2.9.0.beta7","v2.9.0.beta6","v2.9.0.beta5","v2.9.0.beta4","v2.9.0.beta3","v2.9.0.beta2","v2.9.0.beta1","v2.8.0.beta11","v2.8.0.beta10","v2.8.0.beta9","v2.8.0.beta8","v2.8.0.beta7","v2.8.0.beta6","v2.8.0.beta5","v2.8.0.beta4","v2.8.0.beta3","v2.8.0.beta2","v2.8.0.beta1","v2.7.0.beta9","v2.7.0.beta8","v2.7.0.beta7","v2.7.0.beta6","v2.7.0.beta5","v2.7.0.beta4","v2.7.0.beta3","v2.7.0.beta2","v2.7.0.beta1","v2.6.0.beta6","v2.6.0.beta5","v2.6.0.beta4","v2.6.0.beta3","v2.6.0.beta2","v2.6.0.beta1","v2.5.0.beta7","v2.5.0.beta6","v2.5.0.beta5","v2.5.0.beta4","v2.5.0.beta3","v2.5.0.beta2","v2.5.0.beta1","v2.4.0.beta11","v2.4.0.beta10","v2.4.0.beta9","v2.4.0.beta8","v2.4.0.beta7","v2.4.0.beta6","v2.4.0.beta5","v2.4.0.beta4","v2.4.0.beta3","v2.4.0.beta2","v2.4.0.beta1","v2.3.0.beta11","v2.3.0.beta10","v2.3.0.beta9","v2.3.0.beta8","v2.3.0.beta7","v2.3.0.beta6","v2.3.0.beta5","v2.3.0.beta4","v2.3.0.beta3","v2.3.0.beta2","v2.3.0.beta1","v2.2.0.beta10","v2.2.0.beta9","v2.2.0.beta8","v2.2.0.beta7","v2.2.0.beta6","v2.2.0.beta5","v2.2.0.beta4","v2.2.0.beta3","v2.2.0.beta2","v2.2.0.beta1","v2.1.0.beta6","v2.1.0.beta5","v2.1.0.beta4","v2.1.0.beta3","v2.1.0.beta2","v2.1.0.beta1","v2.0.0.beta10","v2.0.0.beta9","v2.0.0.beta8","v2.0.0.beta7","v2.0.0.beta6","v2.0.0.beta5","v2.0.0.beta4","v2.0.0.beta3","v2.0.0.beta2","v2.0.0.beta1","v1.9.0.beta17","v1.9.0.beta16","v1.9.0.beta15","v1.9.0.beta14","v1.9.0.beta13","v1.9.0.beta12","v1.9.0.beta11","v1.9.0.beta10","v1.9.0.beta9","v1.9.0.beta8","v1.9.0.beta7","v1.9.0.beta6","v1.9.0.beta5","v1.9.0.beta4","v1.9.0.beta3","v1.9.0.beta2","v1.9.0.beta1","v1.8.0.beta13","v1.8.0.beta12","v1.8.0.beta11","v1.8.0.beta10","v1.8.0.beta9","v1.8.0.beta8","v1.8.0.beta7","v1.8.0.beta6","v1.8.0.beta5","v1.8.0.beta4","v1.8.0.beta3","v1.8.0.beta2","v1.8.0.beta1","v1.7.0.beta11","v1.7.0.beta10","v1.7.0.beta9","v1.7.0.beta8","v1.7.0.beta7","v1.7.0.beta6","v1.7.0.beta5","v1.7.0.beta4","v1.7.0.beta3","v1.7.0.beta1","v1.7.0.beta2","v1.6.0.beta12","v1.6.0.beta11","v1.6.0.beta10","v1.6.0.beta9","v1.6.0.beta8","v1.6.0.beta7","v1.6.0.beta6","v1.6.0.beta5","v1.6.0.beta4","v1.6.0.beta3","v1.6.0.beta2","v1.6.0.beta1","v1.5.0.beta14","v1.5.0.beta13b","v1.5.0.beta13","v1.5.0.beta12","v1.5.0.beta11","v1.5.0.beta10","v1.5.0.beta9","v1.5.0.beta8","v1.5.0.beta7","v1.5.0.beta6","v1.5.0.beta5","v1.5.0.beta4","v1.5.0.beta2","v1.5.0.beta1","v1.4.0.beta12","v1.4.0.beta11","v1.4.0.beta10","v1.4.0.beta9","v1.4.0.beta8","v1.4.0.beta7","v1.4.0.beta6","v1.4.0.beta5","v1.4.0.beta4","v1.4.0.beta3","v1.4.0.beta2","v1.4.0.beta1","v1.3.0.beta11","v1.3.0.beta10","v1.3.0.beta9","v1.3.0.beta6","v1.3.0.beta5","v1.3.0.beta4","v1.3.0.beta3","v1.3.0.beta2","v1.3.0.beta1","v1.2.0.beta9","v1.2.0.beta8","v1.2.0.beta7","v1.2.0.beta6","v1.2.0.beta5","v1.2.0.beta4","v1.2.0.beta3","v1.2.0.beta2","v1.2.0.beta1","v1.1.0.beta8","v1.1.0.beta7","v1.1.0.beta6b","v1.1.0.beta6","v1.1.0.beta5","v1.1.0.beta4","v1.1.0.beta3","v1.1.0.beta2","v1.0.0","v0.9.9.18","v0.9.9.17","v0.9.9.16","v0.9.9.15","v0.9.9.14","v0.9.9.13","v0.9.9.12","v0.9.9.11","v0.9.9.10","v0.9.9.9","v0.9.9.8","v0.9.9.7","v0.9.9.6","v0.9.9.5","v0.9.9.4","v0.9.9.3","v0.9.9.2","v0.9.9.1","v0.9.8.11","v0.9.8.10","v0.9.8.9","v0.9.8.8","v0.9.8.7","v0.9.8.6","v0.9.8.5","v0.9.8.4","v0.9.8.3","v0.9.8.2","v0.9.8.1","v0.9.8","v0.9.7.9","v0.9.7.8","v0.9.7.7","v0.9.7.6","v0.9.7.5","v0.9.7.4","v0.9.7.3","v0.9.7.2","v0.9.7.1","v0.9.7","v0.9.6.4","v0.9.6.3","v0.9.6.1","v0.9.6","v0.9.5.2","v0.9.5.1","v0.9.5","v0.9.4","v0.9.3","v0.9.2.6","v0.9.2.5","v0.9.2","v0.9.1","v0.9.0","v0.8.9","v0.8.8","v0.8.7","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23935.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"}]}