CVE-2026-93899: Better Messages <= 3.0.4 - Authenticated (Subscriber+) SQL Injection via 'group_id' Message Meta Parameter
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress is vulnerable to generic SQL Injection via 'groupid' Message Meta Parameter in all versions up to, and including, 3.0.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires the BuddyBoss Platform plugin to be installed with its Social Groups component disabled, a state that persists on any site that has previously toggled the Groups component off since BuddyBoss does not drop the wpbpgroups table upon deactivation.
Affected Software
Event History
Frequently Asked Questions
Which sites are exposed to this issue?
Sites running Better Messages version 3.0.4 or earlier are affected only when the BuddyBoss Platform plugin is installed and its Social Groups component is disabled. This condition can remain after Groups is turned off because BuddyBoss does not remove the wp_bp_groups table on deactivation.
What access does an attacker need?
An attacker must be authenticated with at least Subscriber-level access. No user interaction is required.
What could exploitation allow?
An attacker may append SQL to an existing query through the group_id message-meta parameter and extract sensitive information from the WordPress database.
How can I determine whether the affected BuddyBoss condition exists?
Check whether BuddyBoss Platform is installed and whether its Social Groups component is disabled. Sites that previously disabled that component may still have the wp_bp_groups table present.