Description
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.
References9
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15…
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15…
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15…
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15…
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15…
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15…
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15…
- plugins.trac.wordpress.org/changeset?old_path=bp-better-message…
- www.wordfence.com/threat-intel/vulnerabilities/id/df28ecd7-d463…
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 26 · as of 8 November 2026
- CWE
- CWE-287
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.