Skip to content
OpenAdvisories
High · 8.2 CVE-2025-23023 EUVD-2025-3079

Anonymous cache poisoning via request headers in Discourse

Published Feb 4, 2025 · Updated Feb 12, 2025 · Assigned by GitHub_M

Description

Discourse is an open source platform for community discussion. In affected versions an attacker can carefully craft a request with the right request headers to poison the anonymous cache (for example, the cache may have a response with missing 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 may disable anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value.

Affected products

VendorProductAffectedFixed
discourse discourse stable: < 3.3.2, tests-passed: < 3.4.0.beta3 —

References