Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Network-exploitable without authentication or user interaction; impact limited to partial confidentiality loss of hidden revision content with no integrity or availability effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, post revisions that should be hidden from regular users could be leaked through visible diffs on adjacent revisions serialized by PostRevisionSerializer. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
AnalysisAI
Discourse's post revision system exposes hidden edit history to unauthenticated network users through a serialization flaw in PostRevisionSerializer. When computing diffs between adjacent visible revisions, the serializer failed to enforce visibility restrictions, leaking content from revisions that moderators or administrators had marked as hidden. No active exploitation has been identified at time of analysis, but the unauthenticated, low-complexity attack vector means any visitor to a vulnerable Discourse instance can potentially access suppressed post content - including moderator-redacted material - without any credentials or special access.
Technical ContextAI
Discourse is an open-source Ruby on Rails-based discussion platform. The vulnerability resides in PostRevisionSerializer, the component responsible for serializing post edit history and generating revision diffs for client consumption. Post revisions can be individually hidden from regular users - a common moderation action to remove sensitive disclosures, PII, or inappropriate content from public view. The serializer failed to apply these visibility access controls consistently when computing diffs between adjacent revisions, causing hidden revision content to bleed into the serialized output for neighboring visible revisions. CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) precisely characterizes the root cause: an access control enforcement gap at the serialization layer, not at the data storage or retrieval layer. No CPE strings were provided in the available data; affected scope is identified from the GitHub release history across multiple maintained branches.
RemediationAI
Upgrade Discourse to one of the patched releases corresponding to your active branch: v2026.6.0, v2026.5.1, v2026.4.2, or v2026.1.5. Fix commits are available at the Discourse GitHub repository (commits 1f26c116, 8b773332, 8d36da1b, d58988d4) and the full security advisory is at https://github.com/discourse/discourse/security/advisories/GHSA-q456-4f8q-42vx. If an immediate upgrade is not feasible, a compensating control is to restrict access to the post revision history API endpoints (typically /posts/:id/revisions/) via web server rules or a WAF, accepting the trade-off that all users - including legitimate ones - will lose access to revision diffs until the upgrade is applied. No vendor-documented workarounds beyond patching are identified in available data.
Discourse versions prior to 3.5.0.beta6 contain a reflected cross-site scripting (XSS) vulnerability in social login fun
discourse-bbcode is the official BBCode plugin for Discourse. Rated critical severity (CVSS 9.8), this vulnerability is
Discourse is an open source platform for community discussion. Rated high severity (CVSS 8.2), this vulnerability is rem
Discourse versions prior to 2025.12.2, 2026.1.1, and 2026.2.0 contain an insecure direct object reference (IDOR) in the
In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms. Rated
Discourse is an open-source discussion platform. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploi
Discourse is an open source platform for community discussion. Rated medium severity (CVSS 5.9), this vulnerability is r
Discourse versions prior to 3.4.4 (stable), 3.5.0.beta5 (beta), and 3.5.0.beta6-dev (tests-passed) contain a critical vu
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is
Discourse Patreon enables syncronization between Discourse Groups and Patreon rewards. Rated critical severity (CVSS 9.8
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is
Unauthorized access to hidden post revisions in Discourse through version enumeration allows unauthenticated users to by
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42737