{"id":"CVE-2023-23622","state":"PUBLISHED","title":"Discourse: Presence of read restricted topics may be leaked if tagged with a tag that is visible to all users","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. \n\nIn 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.","publishedAt":"2023-03-17T14:17:17.427Z","updatedAt":"2025-02-25T14:54:38.172Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse"],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"stable < 3.0.1","status":"affected"},{"version":"beta < 3.1.0.beta2","status":"affected"},{"version":"tests-passed < 3.1.0.beta2","status":"affected"}]}],"references":["https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795","https://github.com/discourse/discourse/pull/20004","https://github.com/discourse/discourse/pull/20005","https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164","https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/23xxx/CVE-2023-23622.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-23622","state":"PUBLISHED","datePublished":"2023-03-17T14:17:17.427Z","dateUpdated":"2025-02-25T14:54:38.172Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-01-16T17:07:46.243Z"},"containers":{"cna":{"title":"Discourse: Presence of read restricted topics may be leaked if tagged with a tag that is visible to all users","descriptions":[{"lang":"en","value":"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. \n\nIn 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":[{"vendor":"discourse","product":"discourse","versions":[{"version":"stable < 3.0.1","status":"affected"},{"version":"beta < 3.1.0.beta2","status":"affected"},{"version":"tests-passed < 3.1.0.beta2","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795","name":"https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/pull/20004","name":"https://github.com/discourse/discourse/pull/20004","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/pull/20005","name":"https://github.com/discourse/discourse/pull/20005","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164","name":"https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f","name":"https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-03-17T14:17:17.427Z"},"source":{"advisory":"GHSA-2wvr-4x7w-v795","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795","name":"https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/discourse/discourse/pull/20004","name":"https://github.com/discourse/discourse/pull/20004","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/discourse/discourse/pull/20005","name":"https://github.com/discourse/discourse/pull/20005","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164","name":"https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f","name":"https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T10:35:33.636Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:29:02.048341Z","id":"CVE-2023-23622","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T14:54:38.172Z"}}]}}}