{"id":"CVE-2026-59828","summary":"Discourse: Hidden post revisions leak through adjacent visible diffs","details":"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.","aliases":["BIT-discourse-2026-59828","GHSA-q456-4f8q-42vx"],"modified":"2026-08-12T03:51:15.845426589Z","published":"2026-07-09T22:04:50.777Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59828.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-200"]},"references":[{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.1.5"},{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.4.2"},{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.5.1"},{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.6.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59828.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-q456-4f8q-42vx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59828"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/1f26c1163ce87a2abbd1d01780ab1b5fb16e75f6"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/8b773332b0f937dfcd894ed56d56fc5a81578d9d"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/8d36da1b68c906592abde3f2e94d505cdf097435"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/d58988d46bb1019bfa8b8330ae81a1a134e08511"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"},{"fixed":"c06899647d758493d95a5b301e573ffa3db1e878"},{"introduced":"fdd750d960e603415db62242eca3c30d68e366db"},{"fixed":"4bbdddfc6700ca23604242111d4fa0e00347af97"},{"introduced":"640840d818f4ee9375829ece0ef452923bb0c012"},{"fixed":"598586ccf2e046a25d4b54132e4e1feb47f24e98"},{"introduced":"06d03da34c4ed09ea59f917f045ba250d2b6320d"},{"fixed":"1f26c1163ce87a2abbd1d01780ab1b5fb16e75f6"},{"fixed":"8b773332b0f937dfcd894ed56d56fc5a81578d9d"},{"fixed":"8d36da1b68c906592abde3f2e94d505cdf097435"},{"fixed":"d58988d46bb1019bfa8b8330ae81a1a134e08511"},{"fixed":"06d03da34c4ed09ea59f917f045ba250d2b6320d"}],"database_specific":{"extracted_events":[{"introduced":"2026.1.0"},{"fixed":"2026.1.5"},{"introduced":"2026.4.0"},{"fixed":"2026.4.2"},{"introduced":"2026.5.0"},{"fixed":"2026.5.1"},{"introduced":"2026.6.0"},{"last_affected":"2026.6.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"],"cpe":["cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2026.6.0:*:*:*:latest:*:*:*"]}}],"versions":["2026.6.0","v2026.5.0","v2026.6.0-latest","v2026.1.4","v2026.4.1","v2026.5.0-latest.1","v2026.4.0","v2026.5.0-latest","v2026.1.3","v2026.4.0-latest","v2026.1.2","v2026.1.1","v2026.1.0","stable","esr","v2026.1.0-latest"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59828.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}