GHSA-CF2H-V7M8-8384
Vulnerability from github – Published: 2026-11-27 06:31 – Updated: 2026-11-27 06:31The 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.
{
"affected": [],
"aliases": [
"CVE-2026-135627"
],
"database_specific": {
"cwe_ids": [
"CWE-269"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-27T04:16:40Z",
"severity": "HIGH"
},
"details": "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 \u2014 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\u0027s \"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\u0027s 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\u0027s own account to receive the complete administrator role.",
"id": "GHSA-cf2h-v7m8-8384",
"modified": "2026-11-27T06:31:09Z",
"published": "2026-11-27T06:31:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135627"
},
{
"type": "WEB",
"url": "https://downloads.wordpress.org/plugin/simple-membership.4.9.1.zip"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-members.php#L564"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-members.php#L575"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-self-action-handler.php#L133"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-utils-member.php#L264"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-utils-member.php#L641"
},
{
"type": "WEB",
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8010de75-785c-4a51-b521-330576081b42?source=cve"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.