CVE-2025-61598
Discourse vulnerability analysis and mitigation

Overview

Discourse, an open source discussion platform, was found to have a security vulnerability (CVE-2025-61598) affecting versions before 3.6.2 and 3.6.0.beta2. The vulnerability was related to missing default Cache-Control response headers with values no-store, no-cache in error responses. This vulnerability was disclosed on October 28, 2025, and has been assigned a CVSS v4.0 base score of 6.3 (Medium) (GitHub Advisory).

Technical details

The vulnerability stems from the absence of Cache-Control response headers specifically in error responses. The issue has been assigned a CVSS v4.0 vector string of CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N, indicating it is network-accessible, requires low attack complexity, and has low confidentiality impact. The vulnerability is tracked as CWE-524 (Use of Cache Containing Sensitive Information) (NVD).

Impact

The missing Cache-Control headers in error responses could lead to unintended caching of those responses by proxies, potentially enabling cache poisoning attacks. This could result in sensitive information being cached and potentially exposed to unauthorized users (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Discourse versions 3.6.2 and 3.6.0.beta2. The fix involves ensuring that all responses have the Cache-Control header set to no-cache, no-store by default, with individual controller actions having the ability to override the header when necessary (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Discourse vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61598MEDIUM6.3
  • DiscourseDiscourse
  • cpe:2.3:a:discourse:discourse
NoYesOct 28, 2025
CVE-2025-59337MEDIUM5.5
  • NixOSNixOS
  • cpe:2.3:a:discourse:discourse
NoYesOct 01, 2025
CVE-2025-58054MEDIUM5.4
  • NixOSNixOS
  • cpe:2.3:a:discourse:discourse
NoYesOct 01, 2025
CVE-2025-58055MEDIUM4.3
  • NixOSNixOS
  • discourse
NoYesOct 01, 2025
CVE-2025-54411LOW2.4
  • NixOSNixOS
  • discourse
NoYesAug 19, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management