# CVE-2026-1321: Membership Plugin – Restrict Content <= 3.2.20 - Unauthenticated Privilege Escalation via 'rcp_level'

- Severity: High 8.1 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-03-05T07:30:55.675Z
- Modified: 2026-06-17T10:15:35.677Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- stellarwp Membership Plugin – Restrict Content: up to 3.2.20

## References

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

## Sources

- CVE List: [CVE-2026-1321](https://www.cve.org/CVERecord?id=CVE-2026-1321), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-1321](https://nvd.nist.gov/vuln/detail/CVE-2026-1321), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-1321 · Whole record: https://cve.day/CVE-2026-1321.json · Rebuilt by cve.day 2026-11-25T22:59:15.306Z
