{"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-10-28T02:30:37.673293722Z","published":"2023-03-16T20:21:13.539Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23935.json"},"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":"4571b10ee5a3c46249271b2870d6eaf37994460f"},{"fixed":"f31f0b70f82c43d93220ce6fc0d4f57440452f37"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"stable \u003c= 3.0.1"},{"last_affected":"stable \u003c= 3.0.1"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"beta \u003c= 3.1.0.beta2"},{"last_affected":"beta \u003c= 3.1.0.beta2"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"tests-passed \u003c= 3.1.0.beta2"},{"last_affected":"tests-passed \u003c= 3.1.0.beta2"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"f31f0b70f82c43d93220ce6fc0d4f57440452f37"}]}]}}],"versions":["1.1.0-beta1","1.1.0-beta2","1.1.0-beta3","1.1.0-beta4","1.1.0-beta5","1.1.0-beta6","1.1.0-beta7","1.1.0-beta8","1.2.0-beta1","1.2.0-beta2","1.2.0-beta3","1.2.0-beta4","1.2.0-beta5","1.2.0-beta6","1.2.0-beta7","1.2.0-beta8","1.2.0-beta9","1.3.0-beta1","1.3.0-beta10","1.3.0-beta11","1.3.0-beta2","1.3.0-beta3","1.3.0-beta4","1.3.0-beta5","1.3.0-beta6","1.3.0-beta7","1.3.0-beta8","1.3.0-beta9","1.4.0-beta1","1.4.0-beta10","1.4.0-beta11","1.4.0-beta12","1.4.0-beta2","1.4.0-beta3","1.4.0-beta4","1.4.0-beta5","1.4.0-beta7","1.4.0-beta8","1.4.0-beta9","1.5.0-beta1","1.5.0-beta10","1.5.0-beta11","1.5.0-beta12","1.5.0-beta13","1.5.0-beta14","1.5.0-beta2","1.5.0-beta3","1.5.0-beta4","1.5.0-beta5","1.5.0-beta6","1.5.0-beta7","1.5.0-beta8","1.5.0-beta9","1.6.0-beta1","1.6.0-beta10","1.6.0-beta11","1.6.0-beta12","1.6.0-beta2","1.6.0-beta3","1.6.0-beta4","1.6.0-beta5","1.6.0-beta6","1.6.0-beta7","1.6.0-beta8","1.6.0-beta9","1.7.0-beta1","1.7.0-beta10","1.7.0-beta11","1.7.0-beta2","1.7.0-beta3","1.7.0-beta4","1.7.0-beta5","1.7.0-beta6","1.7.0-beta7","1.7.0-beta8","1.7.0-beta9","1.8.0-beta1","1.8.0-beta10","1.8.0-beta11","1.8.0-beta12","1.8.0-beta13","1.8.0-beta2","1.8.0-beta3","1.8.0-beta4","1.8.0-beta5","1.8.0-beta6","1.8.0-beta7","1.8.0-beta8","1.8.0-beta9","1.9.0-beta1","1.9.0-beta10","1.9.0-beta11","1.9.0-beta12","1.9.0-beta13","1.9.0-beta14","1.9.0-beta15","1.9.0-beta16","1.9.0-beta17","1.9.0-beta2","1.9.0-beta3","1.9.0-beta4","1.9.0-beta5","1.9.0-beta6","1.9.0-beta7","1.9.0-beta8","1.9.0-beta9","2.0.0-beta1","2.0.0-beta10","2.0.0-beta2","2.0.0-beta3","2.0.0-beta4","2.0.0-beta5","2.0.0-beta6","2.0.0-beta7","2.0.0-beta8","2.0.0-beta9","2.1.0-beta1","2.1.0-beta2","2.1.0-beta3","2.1.0-beta4","2.1.0-beta5","2.1.0-beta6","2.2.0-beta1","2.2.0-beta10","2.2.0-beta2","2.2.0-beta3","2.2.0-beta4","2.2.0-beta5","2.2.0-beta6","2.2.0-beta7","2.2.0-beta8","2.2.0-beta9","2.3.0-beta1","2.3.0-beta10","2.3.0-beta11","2.3.0-beta2","2.3.0-beta3","2.3.0-beta4","2.3.0-beta5","2.3.0-beta6","2.3.0-beta7","2.3.0-beta8","2.3.0-beta9","2.4.0-beta1","2.4.0-beta10","2.4.0-beta11","2.4.0-beta2","2.4.0-beta3","2.4.0-beta4","2.4.0-beta5","2.4.0-beta6","2.4.0-beta7","2.4.0-beta8","2.4.0-beta9","2.5.0-beta1","2.5.0-beta2","2.5.0-beta3","2.5.0-beta4","2.5.0-beta5","2.5.0-beta6","2.5.0-beta7","2.6.0-beta1","2.6.0-beta2","2.6.0-beta3","2.6.0-beta4","2.6.0-beta5","2.6.0-beta6","2.7.0-beta1","2.7.0-beta2","2.7.0-beta3","2.7.0-beta4","2.7.0-beta5","2.7.0-beta6","2.7.0-beta7","2.7.0-beta8","2.7.0-beta9","2.8.0-beta1","2.8.0-beta10","2.8.0-beta11","2.8.0-beta2","2.8.0-beta3","2.8.0-beta4","2.8.0-beta5","2.8.0-beta6","2.8.0-beta7","2.8.0-beta8","2.8.0-beta9","2.9.0-beta1","2.9.0-beta10","2.9.0-beta11","2.9.0-beta12","2.9.0-beta13","2.9.0-beta14","2.9.0-beta2","2.9.0-beta3","2.9.0-beta4","2.9.0-beta5","2.9.0-beta6","2.9.0-beta7","2.9.0-beta8","2.9.0-beta9","3.0.0-beta15","3.0.0-beta16","3.1.0-beta1","beta \u003c= 3.1.0.beta2","stable \u003c= 3.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23935.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"}]}