What’s Vulnerable › Vulnerabilities
CVE-2024-47773: Anonymous cache poisoning via XHR requests in Discourse
- Severity: high (CVSS 8.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-10-08 · updated 2026-06-17
- Weakness: CWE-610
Description
Discourse is an open source platform for community discussion. An attacker can make several XHR requests until the cache is poisoned with a response without any preloaded data. This issue only affects anonymous visitors of the site. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should disable anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value.
Affected products
- discourse: before 3.3.2 — fixed in 3.3.2
How to fix
Upgrade to a fixed version: discourse 3.3.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-47773 or the next vulnerability affects your stack