CVE-2026-15017

MDJM Event Management <= 1.7.8.4 - Authenticated (Subscriber+) Privilege Escalation via 'set-permissions' and 'change_role' Handlers

Published Jul 23, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 23, 2026, 2:00 PM
Reserved
Jul 7, 2026, 11:18 PM
Status
Deferred
Published
Jul 23, 2026, 10:16 AM
Modified
Jul 23, 2026, 3:14 PM