🔐 CVE Alert

CVE-2026-1321

HIGH 8.1

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

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-862
Vendor stellarwp
Product membership plugin – restrict content
Published Mar 5, 2026
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for stellarwp membership plugin – restrict content

Be the first to know when new high vulnerabilities affecting stellarwp membership plugin – restrict content are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

stellarwp / Membership Plugin – Restrict Content
0 ≤ 3.2.20

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/abfaa4a6-92b0-4233-b08d-e668090d3fc2?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/restrict-content/tags/3.2.15/core/includes/registration-functions.php#L1191 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/restrict-content/tags/3.2.15/core/includes/registration-functions.php#L1203 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/restrict-content/tags/3.2.15/core/includes/class-rcp-registration.php#L107 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/restrict-content/tags/3.2.15/core/includes/memberships/class-rcp-membership.php#L1939 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3447187/ plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3460177/

Credits

Angus Girvan