Description
The MDJM Event Management plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.7.8.4. This is due to missing capability checks and nonce verification in the `MDJM_Permissions::set_permissions()` and `MDJM_Employee_Manager::init()` functions, combined with the absence of server-side allow-list validation on the `employee_roles[]` and `new_role` POST parameters before they are passed to `mdjm_set_employee_role()` and `WP_User::set_role()`. This makes it possible for unauthenticated attackers to grant arbitrary MDJM capabilities — including `mdjm_employee` and `mdjm_employee_edit` — to any registered WordPress role, and subsequently leverage a subscriber-level account to escalate privileges to Administrator. `MDJM_Permissions::init()` is registered on the public WordPress `init` hook without any authentication gate, meaning the role-manipulation endpoint is reachable without any prior login.
Published: 2026-07-23
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The MDJM Event Management plugin contains missing capability checks and nonce validation in its permission and employee management handlers (an example of CWE‑269: Improper Privilege Management). As a result, unauthenticated attackers can post the employee_roles and new_role parameters to the backend functions mdjm_set_employee_role() and WP_User::set_role() without server‑side validation or confirmation. An attacker can therefore grant arbitrary MDJM capabilities, such as mdjm_employee and mdjm_employee_edit, to any existing WordPress role. Because these capabilities can be used to elevate a subscriber account to Administrator, the flaw enables a direct privilege escalation path on the site.

Affected Systems

WordPress sites running the MDJM Event Management plugin, all releases up to and including version 1.7.8.4. The vendor is MDJM, and the product is MDJM Event Management.

Risk and Exploitability

This vulnerability is a case of CWE‑269: Improper Privilege Management. The flaw receives a CVSS score of 8.8, indicating a high impact vulnerability. Although the EPSS score is below 1 % and the issue is not listed in CISA’s KEV catalog, the exploitation requires no authentication and is reachable via the public WordPress init hook. An attacker can exploit it by sending crafted POST requests to the exposed set‑permissions or change_role endpoints, thereby creating a new Administrator user from a low‑privilege role. Due to the lack of checks, the attack is straightforward for a remote attacker targeting a compromised site.

Generated by OpenCVE AI on August 3, 2026 at 22:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MDJM Event Management to a version that includes the access‑control and nonce checks or apply a vendor‑provided patch that validates employee_roles[] and new_role against a server‑side allow list.
  • Restrict the set‑permissions and change_role handlers so they only accept requests from users with the administrator role or the mdjm_admin capability; disable them for all other roles.
  • Review the role assignment logic in WP_User::set_role() and MDJM permission settings, ensuring that capability assignments are filtered by an explicit allow list so that no arbitrary role can receive MDJM capabilities.

Generated by OpenCVE AI on August 3, 2026 at 22:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Mdjm
Mdjm mdjm Event Management
Wordpress
Wordpress wordpress
Vendors & Products Mdjm
Mdjm mdjm Event Management
Wordpress
Wordpress wordpress

Thu, 23 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
Description The MDJM Event Management plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.7.8.4. This is due to missing capability checks and nonce verification in the `MDJM_Permissions::set_permissions()` and `MDJM_Employee_Manager::init()` functions, combined with the absence of server-side allow-list validation on the `employee_roles[]` and `new_role` POST parameters before they are passed to `mdjm_set_employee_role()` and `WP_User::set_role()`. This makes it possible for unauthenticated attackers to grant arbitrary MDJM capabilities — including `mdjm_employee` and `mdjm_employee_edit` — to any registered WordPress role, and subsequently leverage a subscriber-level account to escalate privileges to Administrator. `MDJM_Permissions::init()` is registered on the public WordPress `init` hook without any authentication gate, meaning the role-manipulation endpoint is reachable without any prior login.
Title MDJM Event Management <= 1.7.8.4 - Authenticated (Subscriber+) Privilege Escalation via 'set-permissions' and 'change_role' Handlers
Weaknesses CWE-269
References
Metrics cvssV3_1

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


Subscriptions

Mdjm Mdjm Event Management
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-23T14:00:37.667Z

Reserved: 2026-07-07T23:18:19.998Z

Link: CVE-2026-15017

cve-icon Vulnrichment

Updated: 2026-07-23T14:00:32.875Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T10:16:50.173

Modified: 2026-07-23T15:14:51.013

Link: CVE-2026-15017

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-269

    Improper Privilege Management