Simple Membership <= 4.9.0 - Authenticated (Contributor+) Privilege Escalation to Administrator via 'role' Parameter
Strategic Overview
- Status
- Patched in 4.9.1
- Affected Plugin
- Simple Membership
- Affected Version
<= 4.9.0- CVSS
- 7.5High
- Weakness type
- CWE-269 · Improper Privilege Management
- CVE
CVE-2026-135626
At a glance
CVE-2026-135626 is a high-severity Improper Privilege Management vulnerability in the Simple Membership WordPress plugin, affecting versions <= 4.9.0. It carries a CVSS score of 7.5 (reachable over the network; high confidentiality, integrity, availability impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 4.9.1; sites on affected versions should update now. Disclosed November 2026, reported by Wordfence PRISM.
Vulnerability Overview
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.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-269: Improper Privilege Management
Simple Membership <= 4.9.0 carries this weakness at role(), and reaching it takes an account at Contributor level or above. Improper privilege management means the code lets an account end up with capabilities its role should not have.
It converts a low-privileged account into an administrative one, which makes every other restriction on the site irrelevant. For Simple Membership the fix is 4.9.1: builds <= 4.9.0 are affected, anything from 4.9.1 onward is not.
Remediation
Update to version 4.9.1, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Simple Membership 4.9.1 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
- 9.8CVE-2022-2317: Simple Membership Membership Privilege Escalation
CVE-2022-2317 - 9.1CVE-2026-133951: Simple Membership Privilege Escalation to Editor
CVE-2026-133951 - 8.8CVE-2022-2273: Simple Membership Membership Privilege Escalation
CVE-2022-2273 - 7.5CVE-2026-135627: Simple Membership Privilege Escalation
CVE-2026-135627
Other vulnerabilities in Simple Membership
- 8.8CVE-2023-41956: Simple Membership <= 4.3.4 Account Takeover
CVE-2023-41956 - 8.8CVE-2022-0328: Simple Membership CSRF to Arbitrary Member Deletion
CVE-2022-0328 - 8.8CVE-2019-14328: Simple Membership <= 3.8.4 Cross-Site Request Forgery
CVE-2019-14328 - 8.8CVE-2016-10884: Simple Membership <= 3.3.2 Multiple CSRF
CVE-2016-10884 - 7.5CVE-2026-97337: Simple Membership Unauthenticated Account Takeover
CVE-2026-97337 - 7.3CVE-2023-41957: Simple Membership <= 4.3.4 Privilege escalation
CVE-2023-41957 - 7.2CVE-2026-15931: Simple Membership <= 4.7.7 Stored Cross-Site Scripting
CVE-2026-15931 - 7.2CVE-2026-11855: Simple Membership <= 4.7.4 Stored Cross-Site Scripting
CVE-2026-11855
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C