CVE-2026-1321
The Membership Plugin – Restrict Content plugin for WordPress is …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/restrict-content/tags/3.2.15/core/includes/class-rcp-re
- plugins.trac.wordpress.org/browser/restrict-content/tags/3.2.15/core/includes/memberships/
- plugins.trac.wordpress.org/browser/restrict-content/tags/3.2.15/core/includes/registration
- plugins.trac.wordpress.org/browser/restrict-content/tags/3.2.15/core/includes/registration
- plugins.trac.wordpress.org/changeset/3447187/
- plugins.trac.wordpress.org/changeset/3460177/
- www.wordfence.com/threat-intel/vulnerabilities/id/abfaa4a6-92b0-4233-b08d-e668090d3fc2?sou
- nvd.nist.gov/vuln/detail/CVE-2026-1321
- cve.org/CVERecord?id=CVE-2026-1321
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.