{"id":"CVE-2024-36113","summary":"Discourse missing authorization checks for suspending admins/moderators","details":"Discourse is an open-source discussion platform. Prior to version 3.2.3 on the `stable` branch, version 3.3.0.beta3 on the `beta` branch, and version 3.3.0.beta4-dev on the `tests-passed` branch, a rogue staff user could suspend other staff users preventing them from logging in to the site. The issue is patched in version 3.2.3 on the `stable` branch, version 3.3.0.beta3 on the `beta` branch, and version 3.3.0.beta4-dev on the `tests-passed` branch. No known workarounds are available.","aliases":["BIT-discourse-2024-36113","GHSA-3w3f-76p7-3c4g"],"modified":"2026-10-28T02:30:59.181350553Z","published":"2024-07-03T19:07:27.133Z","database_specific":{"cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36113.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36113.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-3w3f-76p7-3c4g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36113"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/8470546f59b04bd82ce9b711406758fd5439936d"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/9c4a5f39d3ad351410a1453ff5e5f7ffce17cd7e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"473248381137bb8b46ab1cd1b5858024a4acf0d0"},{"fixed":"8470546f59b04bd82ce9b711406758fd5439936d"},{"fixed":"9c4a5f39d3ad351410a1453ff5e5f7ffce17cd7e"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"stable \u003c 3.2.3"},{"last_affected":"stable \u003c 3.2.3"}]},{"range":[{"introduced":"tests-passed \u003c 3.3.0.beta4-dev"},{"last_affected":"tests-passed \u003c 3.3.0.beta4-dev"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"beta \u003c 3.3.0.beta3"},{"last_affected":"beta \u003c 3.3.0.beta3"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"8470546f59b04bd82ce9b711406758fd5439936d"}]},{"range":[{"fixed":"9c4a5f39d3ad351410a1453ff5e5f7ffce17cd7e"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["3.3.0-beta1","3.3.0-beta2","beta \u003c 3.3.0.beta3","stable \u003c 3.2.3","tests-passed \u003c 3.3.0.beta4-dev"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36113.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"}]}