CVE-2026-16585
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI …
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_sticker function in all versions up to, and including, 2.15.19. This makes it possible for authenticated attackers, with administrator-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). The prefix check intended to restrict deletion to the uploads directory can be bypassed by crafting a URL that begins with the legitimate uploads base URL but embeds ../ traversal sequences in the path portion, as the normalize_sticker function only applies esc_url_raw(), which does not strip ../ sequences, allowing the traversal payload to be stored verbatim in WordPress options.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15.19/addons/stickers/pack-ma
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15.19/addons/stickers/rest.ph
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15.19/addons/stickers/rest.ph
- plugins.trac.wordpress.org/browser/bp-better-messages/tags/2.15.19/addons/stickers/rest.ph
- plugins.trac.wordpress.org/changeset/3623636/bp-better-messages/trunk/addons/stickers/rest
- www.wordfence.com/threat-intel/vulnerabilities/id/e9274957-7584-4df6-bb2a-d745510f5033?sou
- nvd.nist.gov/vuln/detail/CVE-2026-16585
- cve.org/CVERecord?id=CVE-2026-16585
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.