Description
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.
Published: 2026-07-28
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Better Messages plugin for WordPress contains a path traversal flaw in the delete_sticker function that allows an authenticated user with Administrator or higher role to delete arbitrary files on the server. By sending a crafted request that includes a relative path beginning with the legitimate uploads base URL but embedding "../" sequences, the plugin stores the traversal payload in a WordPress option. Deleting critical files such as wp‑config.php can lead to remote code execution or other catastrophic failures. This vulnerability is a CWE‑22 type error involving local file path validation.

Affected Systems

The flaw affects all releases of Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots up to and including version 2.15.19. No later version of the plugin has been shown to contain the issue, but the vendor has not released a patch or upgrade at the time of this assessment.

Risk and Exploitability

With a CVSS score of 7.2 the vulnerability is classified as high severity. The EPSS score is below 1 %, which indicates a low probability of exploitation in the near term, and the vulnerability is not listed in CISA’s KEV catalog. Nonetheless, because the attack requires only an Administrator privilege – a role typically held by site owners – the potential for serious disruption is significant if an attacker can compromise that account. The flaw is accessed via the plugin’s REST API endpoints that handle stickers; once exploited, an attacker can delete any file on the server that the web process can write to.

Generated by OpenCVE AI on August 3, 2026 at 15:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Better Messages to the latest version that includes the path‑traversal fix.
  • If immediate upgrade is not possible, disable or remove the stickers REST endpoints or limit the delete_sticker capability to a role with no file‑deletion privileges.
  • Configure the file permissions for the WordPress installation and plugin directories so that the web server can only write to the intended uploads directory and cannot delete arbitrary files.
  • Monitor server and plugin logs for unexpected delete requests and set up alerts for attempts to delete critical files.

Generated by OpenCVE AI on August 3, 2026 at 15:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordplus
Wordplus better Messages – Chat Rooms, Group Chat, Private Messages & Ai Chat Bots
Wordpress
Wordpress wordpress
Vendors & Products Wordplus
Wordplus better Messages – Chat Rooms, Group Chat, Private Messages & Ai Chat Bots
Wordpress
Wordpress wordpress

Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 28 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Better Messages <= 2.15.19 - Authenticated (Administrator+) Arbitrary File Deletion via Path Traversal via 'file' Parameter
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Wordplus Better Messages – Chat Rooms, Group Chat, Private Messages & Ai Chat Bots
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-28T16:05:04.482Z

Reserved: 2026-07-22T13:45:18.223Z

Link: CVE-2026-16585

cve-icon Vulnrichment

Updated: 2026-07-28T16:05:00.791Z

cve-icon NVD

Status : Deferred

Published: 2026-07-28T07:16:41.993

Modified: 2026-07-28T16:17:32.097

Link: CVE-2026-16585

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:45:04Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')