Better Messages <= 1.9.10.68 - Authorization Bypass to Blocking Control Bypass
Strategic Overview
- Status
- Patched in 1.9.10.69
- Affected Version
<= 1.9.10.68- CVSS
- 5.4Medium
- Weakness type
- CWE-639 · Authorization Bypass Through User-Controlled Key
- CVE
CVE-2022-40216
At a glance
CVE-2022-40216 is a medium-severity Authorization Bypass Through User-Controlled Key vulnerability in the Better Messages WordPress plugin, affecting versions <= 1.9.10.68. It carries a CVSS score of 5.4 (reachable over the network; low attack complexity). The issue is fixed in version 1.9.10.69; sites on affected versions should update now. Disclosed November 2022, reported by Dhakal Ananda.
Vulnerability Overview
The Better Messages plugin for WordPress is vulnerable to Authorization Bypass resulting in a block bypass on messaging controls in versions up to, and including, 1.9.10.68. This is due to insufficient or broken controls in the plugin. This makes it possible for subscriber-level attackers to bypass messaging blocks.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-639: Authorization Bypass Through User-Controlled Key
Reaching this weakness in Better Messages <= 1.9.10.68 takes a caller who can reach the endpoint. Authorization bypass through a user-controlled key, often called insecure direct object reference, means the application looks up a record by an identifier from the request without checking that the caller owns it.
Changing a number in the request is enough to read or modify other users' records, which on commerce and membership sites means customer data. For Better Messages the fix is 1.9.10.69: builds <= 1.9.10.68 are affected, anything from 1.9.10.69 onward is not.
Remediation
Update to version 1.9.10.69, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Better Messages 1.9.10.69 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots
- 8.8CVE-2022-36389: Better Messages <= 1.9.9.148 CSRF
CVE-2022-36389 - 8.8CVE-2022-29454: Better Messages <= 1.9.9.148 CSRF
CVE-2022-29454 - 8.8CVE-2021-24809: BP Better Messages <= 1.9.9.37 CSRF
CVE-2021-24809 - 7.7CVE-2022-33142: Better Messages <= 1.9.10.57 Resource Exhaustion
CVE-2022-33142 - 7.5CVE-2024-13611: Better Messages Info Exposure
CVE-2024-13611 - 7.4CVE-2022-41609: Better Messages <= 1.9.10.68 SSRF
CVE-2022-41609 - 7.2CVE-2026-84812: Better Messages Stored XSS
CVE-2026-84812 - 7.2CVE-2026-32547: Better Messages Stored XSS
CVE-2026-32547
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C