What’s Vulnerable › Vulnerabilities
CVE-2024-36122: Discourse doesn't limit reviewable user serializer payload
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-03 · updated 2026-06-17
- Weakness: CWE-200
Description
Discourse is an open-source discussion platform. Prior to version 3.2.3 on the `stable` branch and version 3.3.0.beta4 on the `beta` and `tests-passed` branches, moderators using the review queue to review users may see a users email address even when the Allow moderators to view email addresses setting is disabled. This issue is patched in version 3.2.3 on the `stable` branch and version 3.3.0.beta4 on the `beta` and `tests-passed` branches. As possible workarounds, either prevent moderators from accessing the review queue or disable the approve suspect users site setting and the must approve users site setting to prevent users from being added to the review queue.
Affected products
- discourse: before 3.2.3; before 3.3.0; 3.3.0-beta1, 3.3.0-beta2, 3.3.0-beta3 — fixed in 3.2.3, 3.3.0
How to fix
Upgrade to a fixed version: discourse 3.2.3, 3.3.0. Check the vendor advisory for mitigations.
References
- https://github.com/discourse/discourse/commit/8d5b21170efa4766e1a213ff07dc36d36cf3dfb4
- https://github.com/discourse/discourse/commit/e2a7265dba3d9e943338db21ca38c50276b22f47
- https://github.com/discourse/discourse/security/advisories/GHSA-rr93-hcw4-cv3f
- https://github.com/discourse/discourse/commit/8d5b21170efa4766e1a213ff07dc36d36cf3dfb4
- https://github.com/discourse/discourse/commit/e2a7265dba3d9e943338db21ca38c50276b22f47
- https://github.com/discourse/discourse/security/advisories/GHSA-rr93-hcw4-cv3f
Get alerted when CVE-2024-36122 or the next vulnerability affects your stack