Skip to content
DayZeroHub
High Not yet writtenCVSS 7.5CVE-2026-135626

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

wpinsider-1 Simple Membership

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135626: high-severity vulnerability (CVSS 7.5) in wpinsider-1 Simple Membership.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.5.

Affected products and versions

wpinsider-1 Simple Membership <= 4.9.0

ProductVersionsFixed in
wpinsider-1 Simple Membership<= 4.9.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-269

Relevant change history

  1. Published

    Preliminary advisory published.