Junglewise Threat Intelligence

CVE-2026-59828: Discourse information disclosure in PostRevisionSerializer

CVE-2026-59828 · Severity: medium · CVSS 5.3 · Published 2026-07-09

Technologies: Discourse. Vendors: Discourse.

Executive brief

Discourse, a popular open-source discussion and forum platform, contained a vulnerability where sensitive information in hidden post revisions could be exposed. Specifically, content that was intended to be hidden from regular users could be leaked through the 'diff' view of adjacent, visible post revisions. This could lead to the unauthorized disclosure of private information or deleted content to any user capable of viewing the post's history.

Technical details

An information disclosure vulnerability exists in Discourse's PostRevisionSerializer. The flaw occurs because the application fails to properly suppress differences (diffs) when a revision is marked as hidden but is adjacent to a visible revision. An attacker or regular user viewing the revision history of a post can see the content of hidden revisions by inspecting the changes displayed in the adjacent visible versions. The fix introduces a 'suppress_hidden_diffs?' check within the serializer to ensure that sensitive content from hidden revisions is not included in the serialized output for unauthorized users. This issue is resolved in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.

Affected products

  • Discourse Discourse < 2026.1.5, < 2026.4.2, < 2026.5.1, < 2026.6.0

Timeline

  • 2026-07-09: advisory
  • 2026-07-09: disclosed

References

Related threats