CVE-2025-23023: Anonymous cache poisoning via request headers in Discourse
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 DISCOURSEDISABLEANONCACHE environment variable to a non-empty value.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-23023?
The severity of CVE-2025-23023 is classified as medium due to the risk of cache poisoning affecting anonymous visitors.
How do I fix CVE-2025-23023?
To fix CVE-2025-23023, upgrade to the latest version of Discourse where this vulnerability is patched.
Who is affected by CVE-2025-23023?
CVE-2025-23023 affects users of Discourse who allow access to anonymous visitors.
Can CVE-2025-23023 lead to data exposure?
Yes, CVE-2025-23023 can lead to potential data exposure through cached responses missing preloaded data.
Is there a workaround for CVE-2025-23023?
Currently, the recommended action is to apply the upgrade as there are no specific workarounds for CVE-2025-23023.