Vulnerability in Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots — CVE-2026-132604
What to do now
Update Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots to 3.3.1 or later.
Affected versions
- Everything up to and including 3.3.0
Affected: Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots (plugin, bp-better-messages)
What the vulnerability is
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'name' parameter in all versions up to, and including, 3.3.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit triggers when any user, including an administrator, clicks the attacker's display name in a shared conversation, causing the plugin's stopButtonLoading() handler to assign the browser-decoded data-bm-icon-backup attribute value directly to loaderIcon.outerHTML. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Sources
- https://plugins.trac.wordpress.org/browser/bp-better-messages/tags/3.3.0/assets/js/better-messages.min.js#L2
- https://plugins.trac.wordpress.org/browser/bp-better-messages/tags/3.3.0/inc/functions.php#L1254
- https://plugins.trac.wordpress.org/browser/bp-better-messages/tags/3.3.0/inc/functions.php#L1280
- https://plugins.trac.wordpress.org/browser/bp-better-messages/tags/3.3.0/inc/functions.php#L1354
- https://plugins.trac.wordpress.org/browser/bp-better-messages/tags/3.3.0/inc/functions.php#L2719
- https://plugins.trac.wordpress.org/changeset?old_path=bp-better-messages%2Ftags%2F3.3.0%2Finc%2Ffunctions.php&new_path=bp-better-messages%2Ftags%2F3.3.1%2Finc%2Ffunctions.php