CVE-2026-135627 in Simple Membership Plugininfo

Summary

by MITRE • 11/27/2026

The Simple Membership plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.9.0 The vulnerability exists because the `bulk_operation_menu()` function accepts the `swpm_bulk_change_level_to` parameter from `$_REQUEST` with only `sanitize_text_field()` applied, and passes it to `SwpmMemberUtils::update_membership_level_and_role()` without the `id != 1` allowlist exclusion that every other level-selection path in the plugin enforces — leaving membership level 1, which the installer maps to the WordPress `administrator` role on every fresh install, freely selectable as a bulk-change target. This makes it possible for authenticated attackers with Contributor-level access and above to elevate their own WordPress account to the full Administrator role, gaining complete site control including plugin installation, user creation, and all other administrator capabilities. Exploitation requires that an administrator has first lowered the plugin's "Admin Dashboard Access Permission" setting from its default of `manage_options` to a lesser capability such as `edit_posts` (Contributor), `edit_published_posts` (Author), or `edit_pages` (Editor), which is a non-default granted-access configuration; the bulk screen's nonce protection (`swpm_bulk_change_level_nonce_action`) does not mitigate the issue because the nonce is emitted on the same page the delegated lower-role user can already reach. Successful exploitation causes the attacker's own account to receive the complete administrator role.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/27/2026

The Simple Membership plugin for WordPress contains a critical privilege escalation vulnerability affecting all versions up to and including 4.9.0. This flaw stems from an insufficient validation of input parameters within the bulk operation functionality, specifically in the `bulk_operation_menu()` function. The application accepts the `swpm_bulk_change_level_to` parameter directly from the global `$_REQUEST` superglobal array with only basic sanitization via `sanitize_text_field()`. Crucially, this code path fails to enforce a security constraint that is present in all other membership level selection mechanisms within the plugin: an allowlist exclusion for user ID 1. In standard WordPress installations, user ID 1 corresponds to the initial administrator account created during setup. By omitting this check, the vulnerability allows any authenticated user with access to the bulk operation interface to target and modify the role of the primary administrative account or elevate their own privileges if they can manipulate the context to affect a high-privilege identity.

The operational impact of this vulnerability is severe, as it enables attackers with Contributor-level access and above to escalate their privileges to full Administrator status. This escalation grants complete control over the WordPress site, including the ability to install malicious plugins, create new administrative user accounts, modify core settings, and execute arbitrary code through theme editors or other admin-only features. The exploitation of this vulnerability relies on a specific configuration state: an administrator must have previously lowered the plugin's Admin Dashboard Access Permission setting from its default capability of `manage_options` to a lesser permission such as `edit_posts`, `edit_published_posts`, or `edit_pages`. This non-default configuration is often implemented by site owners attempting to delegate certain management tasks, inadvertently exposing this attack vector. The presence of nonce protection via the action identifier `swpm_bulk_change_level_nonce_action` does not mitigate the risk because the nonce is generated on a page that lower-privileged users can already access and interact with legitimately, rendering the anti-CSRF measure ineffective against an authenticated insider threat or compromised low-level account.

From a technical classification perspective, this vulnerability aligns with CWE-269: Improper Privilege Management, as it involves granting elevated privileges to unauthorized actors due to flawed logic in role assignment routines. It also maps directly to MITRE ATT&CK technique T1078: Valid Accounts, specifically the sub-category of Local Accounts, where an attacker leverages valid credentials with lower-level access to perform privilege escalation within a system. The root cause is identified as CWE-20: Improper Input Validation, since the application fails to adequately validate that the target user ID or role change operation adheres to strict security boundaries regarding administrative roles.

Mitigation strategies should focus on immediate remediation and long-term hardening. Users of Simple Membership versions up to 4.9.0 must upgrade to a patched version where this logic error has been corrected, ensuring that all bulk operations enforce the exclusion of user ID 1 from role modification targets unless explicitly authorized by super-administrative checks not present in lower-privilege contexts. Administrators should revert any custom configurations that delegate `manage_options` or higher capabilities to non-administrator roles until patches are applied. Furthermore, implementing strict principle of least privilege across all WordPress plugins and regularly auditing user permissions can reduce the attack surface for such escalation attempts. Security monitoring tools should be configured to detect unusual role changes originating from bulk operation endpoints, particularly those involving high-privilege accounts or sudden elevation events following access by lower-level users.

Responsible

Wordfence

Reservation

11/23/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00621

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!