CVE-2022-31095: Discourse Discourse-Chat

Medium severity, CVSS 6.5. EPSS: 0.6% chance of exploitation in the next 30 days.

discourse-chat is a chat plugin for the Discourse application. Versions prior to 0.4 are vulnerable to an exposure of sensitive information, where an attacker who knows the message ID for a channel they do not have access to can view that message using the chat message lookup endpoint, primarily affecting direct message channels. There are no known workarounds for this issue, and users are advised to update the plugin.

Affected products

  • Discourse Discourse-Chat: before 0.4 (fixed in 0.4)

Published 2022-06-21. Last modified 2026-06-17.