# Better Messages <= 3.1.4 - Authenticated (Subscriber+) Missing Authorization to Restricted Message Content Disclosure

- **ID:** WPSEC-2026-1504
- **Plugin:** Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots (`bp-better-messages`), https://wordpress.org/plugins/bp-better-messages/
- **Affected versions:** all versions before 3.1.5
- **Fixed in:** 3.1.5 (Update to 3.1.5 or later.)
- **Severity:** Low 3.1 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/bp-better-messages
- **Fix released:** 2026-10-22
- **Published:** 2026-10-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1504/

## Description

The Better Messages plugin for WordPress is vulnerable to unauthorized access of restricted message content in all versions up to, and including, 3.1.4, due to missing 'Restrict Message Viewing' checks in the message and conversation search endpoints, the chat room websocket broadcast token, AI reply streaming, and the AI translation and voice transcription features. When the setting is configured, members of a restricted role only see a placeholder instead of message text, but the plugin still returned search matches against message text, gave them the token for live chat room broadcasts, streamed AI replies to them, and included translations and transcriptions in the message data. This makes it possible for authenticated attackers with subscriber-level access or higher, whose role is restricted, to read the content of messages in their own conversations and chat rooms that the site owner chose to hide from them.

## References

- https://wpsec.com/vuln/WPSEC-2026-1504/
- https://plugins.svn.wordpress.org/bp-better-messages/tags/3.1.5/
- https://wordpress.org/plugins/bp-better-messages/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1504/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
