CVE-2026-135627 Simple Membership <= 4.9.0 - Authenticated (Contributor+) Privilege Escalation to Administrator via 'swpm_bulk_change_level_to' Parameter
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- WordPress
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| wpinsider-1 Simple Membership | <= 4.9.0 | after 4.9.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wpinsider-1 Simple Membership | <= 4.9.0 | No fix listed |