The Simple Membership plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including,…
7.5CVSS
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
- Affected
- see the advisory
- Fixed in
- not known yet
- CISA KEV
- no
- First seen
- 2026-11-28
- Categories
- PHP, All
- Sources
- NVD