What’s Vulnerable › Vulnerabilities

CVE-2025-61598: Discourse is missing Cache-Control response header on error responses

Description

Discourse is an open source discussion platform. Version before 3.6.2 and 3.6.0.beta2, default Cache-Control response header with value no-store, no-cache was missing from error responses. This may caused unintended caching of those responses by proxies potentially leading to cache poisoning attacks. This vulnerability is fixed in 3.6.2 and 3.6.0.beta2.

Affected products

How to fix

Upgrade to a fixed version: discourse 3.5.2, 3.6.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-61598 or the next vulnerability affects your stack