CVE-2026-135626

Simple Membership <= 4.9.0 - Authenticated (Contributor+) Privilege Escalation to Administrator via 'role' Parameter

Published Nov 27, 2026 CVSS 3.1 · 7.5 High EPSS n/a KEV · Not listed
Description
The Simple Membership plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.9.0 This is due to the `SwpmLevelForm::role()` function applying only `sanitize_text_field()` to the user-supplied `role` parameter with no allowlist, permitting the `administrator` role to be stored verbatim into `swpm_membership_tbl` and subsequently applied to a member's WordPress account via `$user->add_role()` inside `update_wp_user_role()` — also without any role allowlist — when the `swpm_membership_level_changed` action fires. This makes it possible for authenticated attackers with Contributor-level access and above to create a membership level specifying the `administrator` WordPress role, assign themselves to that level, and thereby elevate their own WordPress account to full Administrator, gaining complete site control including the ability to install plugins, edit themes, and manage users. Exploitation requires that the site owner has lowered the plugin's "Admin Dashboard Access Permission" setting from its default `manage_options` capability to a lesser capability such as `edit_posts`, `edit_published_posts`, or `edit_pages`, which grants lower-privileged users access to the SWPM admin dashboard where the vulnerable level-creation form resides. Successful exploitation causes the attacker's own account to receive the complete administrator role.

Analysis

AI-generated

Technical impact

The vulnerability allows a contributor‑level user to craft a membership level form that assigns the WordPress administrator role directly to themselves. The attack exploits a lack of role validation, permitting an attacker to inject the string "administrator" into the plugin’s database and trigger WordPress’s role assignment function without further checks. The result is that the attacker’s account is promoted to full administrator, gaining unrestricted control over the site, including plugin installation, theme modification, and user management.

Affected Systems

Vendors and products affected include the Simple Membership plugin by wpinsider-1 for WordPress. All releases up to and including version 4.9.0 are vulnerable. The issue is tied to the plugin’s internal handling of the "role" parameter in the SwpmLevelForm class.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, and the EPSS score is not available, reflecting limited data on current exploitation traction. The vulnerability is not listed in CISA’s KEV catalog. Successful exploitation requires the site owner to have reduced the plugin’s "Admin Dashboard Access Permission" setting from its default manage_options capability to a lower capability such as edit_posts, edit_published_posts, or edit_pages. Under those conditions, an authenticated user with Contributor or higher access can create a level that assigns them the administrator role, elevating their privileges on the entire WordPress site.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Simple Membership plugin to version 4.9.1 or later to apply the vendor’s fix for role validation.
  • Restore the plugin’s default "Admin Dashboard Access Permission" setting to manage_options or otherwise restrict access to the SWPM admin dashboard to administrator users only.
  • Review existing membership levels for any that grant the administrator role and remove or modify them to eliminate the elevated privilege.
  • Optionally disable the creation of new membership levels until a thorough review of role assignments has been completed.

Generated by OpenCVE AI on November 27, 2026 at 04:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions simple Membership
Wpinsider-1
Wpinsider-1 simple Membership
Vendors & Products Wordpress-extensions
Wordpress-extensions simple Membership
Wpinsider-1
Wpinsider-1 simple Membership
Type Values Removed Values Added
Description The Simple Membership plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.9.0 This is due to the `SwpmLevelForm::role()` function applying only `sanitize_text_field()` to the user-supplied `role` parameter with no allowlist, permitting the `administrator` role to be stored verbatim into `swpm_membership_tbl` and subsequently applied to a member's WordPress account via `$user->add_role()` inside `update_wp_user_role()` — also without any role allowlist — when the `swpm_membership_level_changed` action fires. This makes it possible for authenticated attackers with Contributor-level access and above to create a membership level specifying the `administrator` WordPress role, assign themselves to that level, and thereby elevate their own WordPress account to full Administrator, gaining complete site control including the ability to install plugins, edit themes, and manage users. Exploitation requires that the site owner has lowered the plugin's "Admin Dashboard Access Permission" setting from its default `manage_options` capability to a lesser capability such as `edit_posts`, `edit_published_posts`, or `edit_pages`, which grants lower-privileged users access to the SWPM admin dashboard where the vulnerable level-creation form resides. Successful exploitation causes the attacker's own account to receive the complete administrator role.
Title Simple Membership <= 4.9.0 - Authenticated (Contributor+) Privilege Escalation to Administrator via 'role' Parameter
Weaknesses CWE-269
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/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
Nov 27, 2026, 3:33 AM
Reserved
Nov 23, 2026, 9:04 PM
Status
Deferred
Published
Nov 27, 2026, 4:16 AM
Modified
Nov 27, 2026, 4:16 AM