What’s Vulnerable › Vulnerabilities
CVE-2022-24824: Anonymous user cache poisoning in discourse
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-04-14 · updated 2026-06-17
- Weakness: CWE-829
Description
Discourse is an open source platform for community discussion. In affected versions an attacker can poison the cache for anonymous (i.e. not logged in) users, such that the users are shown the crawler view of the site instead of the HTML page. This can lead to a partial denial-of-service. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. There are no known workarounds for this issue.
Affected products
- discourse: before 2.8.3; 2.9.0-beta1, 2.9.0-beta2, 2.9.0-beta3 — fixed in 2.8.3
How to fix
Upgrade to a fixed version: discourse 2.8.3. Check the vendor advisory for mitigations.
References
- https://github.com/discourse/discourse/commit/b72b0dac10493d09f4f9eb8f3c3ce7817295e34e
- https://github.com/discourse/discourse/security/advisories/GHSA-46v9-3jc4-f53w
- https://github.com/discourse/discourse/commit/b72b0dac10493d09f4f9eb8f3c3ce7817295e34e
- https://github.com/discourse/discourse/security/advisories/GHSA-46v9-3jc4-f53w
Get alerted when CVE-2022-24824 or the next vulnerability affects your stack