CVE-2026-1321

Membership Plugin – Restrict Content <= 3.2.20 - Unauthenticated Privilege Escalation via 'rcp_level'

Published Mar 5, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
The Membership Plugin – Restrict Content plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 3.2.20. This is due to the `rcp_setup_registration_init()` function accepting any membership level ID via the `rcp_level` POST parameter without validating that the level is active or that payment is required. Combined with the `add_user_role()` method which assigns the WordPress role configured on the membership level without status checks, this makes it possible for unauthenticated attackers to register with any membership level, including inactive levels that grant privileged WordPress roles such as Administrator, or paid levels that charge a sign-up fee. The vulnerability was partially patched in version 3.2.18.

Analysis

AI-generated

Technical impact

The Membership Plugin – Restrict Content plugin for WordPress carries a privilege escalation vulnerability that exists in all releases up to version 3.2.20. The flaw is in the rcp_setup_registration_init() function, which accepts the rcp_level POST parameter without verifying that the membership level is active or that a payment is required. Because add_user_role() assigns the WordPress role configured for that level without any status checks, an unauthenticated attacker can register with any level, including inactive levels that grant privileged roles such as Administrator, or paid levels that would normally trigger a sign‑up fee. This allows creation of fully privileged user accounts without authentication or payment.

Affected Systems

The affected product is the StellarWP Membership Plugin – Restrict Content. All releases up to and including version 3.2.20 are vulnerable; no other vendors or later versions are listed as affected.

Risk and Exploitability

The CVSS v3.1 base score for this issue is 8.1 (High), and the EPSS exploitation probability is reported as less than 1%, indicating a low overall likelihood at the present time. The vulnerability is not present in the CISA KEV catalog. An attacker can exploit the flaw by sending an unauthenticated HTTP POST request to the plugin’s registration endpoint with any desired rcp_level value. Because the plugin does not validate the level against activation or payment status, the user is created and immediately granted the WordPress role associated with the supplied level. The partial patch introduced in version 3.2.18 does not fully mitigate the issue, and exploitation remains possible until a complete fix is applied in later releases.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Membership Plugin – Restrict Content to any version newer than 3.2.20, which contains the full patch that validates membership level status before assigning roles.
  • If an upgrade cannot be performed immediately, restrict the rcp_level POST parameter to a whitelist of authorized membership levels, or disable public registration altogether to prevent unauthenticated registrations.
  • As an additional temporary safeguard, enforce a check that the membership level is active and paid before assigning the WordPress role, or remap any newly created Administrator accounts to a less privileged role.

Generated by OpenCVE AI on April 15, 2026 at 17:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Stellarwp
Stellarwp membership Plugin - Restrict Content
Wordpress
Wordpress wordpress
Vendors & Products Stellarwp
Stellarwp membership Plugin - Restrict Content
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Membership Plugin – Restrict Content plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 3.2.20. This is due to the `rcp_setup_registration_init()` function accepting any membership level ID via the `rcp_level` POST parameter without validating that the level is active or that payment is required. Combined with the `add_user_role()` method which assigns the WordPress role configured on the membership level without status checks, this makes it possible for unauthenticated attackers to register with any membership level, including inactive levels that grant privileged WordPress roles such as Administrator, or paid levels that charge a sign-up fee. The vulnerability was partially patched in version 3.2.18.
Title Membership Plugin – Restrict Content <= 3.2.20 - Unauthenticated Privilege Escalation via 'rcp_level'
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:14 PM
Reserved
Jan 22, 2026, 1:21 AM
Status
Deferred
Published
Mar 5, 2026, 8:15 AM
Modified
Jun 17, 2026, 10:15 AM