CVE-2026-89093
MediumCVSS 5.3Summary
The Better Messages plugin for WordPress (versions up to and including 2.15.33) is vulnerable to Information Exposure by Spoofing. The is_ai_bot_user() function identifies privileged internal AI bot accounts by checking for the 'ai-chat-bot-' prefix against a guest record's stored IP address, which is populated verbatim from the client-controlled X-Real-IP request header. This allows unauthenticated attackers to register a guest identity treated as an internal AI bot, bypassing role allowlists and join filters to join administrator-restricted chat rooms, post messages, and read other users' private message history.
Risk Assessment
An unauthenticated attacker can gain access to administrator-restricted chat rooms and read other users' private messages, constituting a serious confidentiality breach. This may lead to leakage of sensitive business information and personal data.
Recommendation
Update the Better Messages plugin to a version newer than 2.15.33. Until then, consider disabling the AI chat feature or restricting access to restricted chat rooms.
Other vulnerabilities in Better Messages
See all- CVE-2026-89334Medium
The Better Messages plugin for WordPress (versions up to and including 2.15.33) is vulnerable to authorization bypass due to improper verification of user authorization. An authenticated attacker with custom-level access can access the full message transcript, thread metadata, and user data of any chat-room thread without authorization. This is only exploitable when the chat room's only_joined_can_read setting retains its default value of '0'.
- CVE-2026-18555Medium
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress (all versions up to and including 2.15.22) is vulnerable to Reflected Cross-Site Scripting via the 'icn' parameter due to insufficient input sanitization and output escaping. An unauthenticated attacker can inject arbitrary web scripts into pages that execute if they can successfully trick a user into performing an action such as clicking a link.
- CVE-2026-16585High
The Better Messages plugin for WordPress up to version 2.15.19 has an arbitrary file deletion vulnerability in the delete_sticker function. An authenticated attacker with administrator privileges can delete any file on the server, potentially leading to remote code execution.
Original NVD description (English source)
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress is vulnerable to Information Exposure by Spoofing in all versions up to, and including, 2.15.33. This is due to the `is_ai_bot_user()` function identifying privileged internal AI bot accounts by performing a prefix check for `'ai-chat-bot-'` against a guest record's stored IP address, which is populated verbatim from the client-controlled `X-Real-IP` request header during unauthenticated guest registration. This makes it possible for unauthenticated attackers to register a guest identity that the plugin treats as its own internal AI bot, bypassing the per-room role allowlist, draft-status check, and join filters — which are all short-circuited by the bot check in `user_can_join()` and `user_can_read()` — to join administrator-restricted chat rooms, post messages into them, and read the private message history of other users.

