Auth bypass in Stellarwp Membership Plugin – Restrict Content

CVE-2026-1321

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.

Vulnerability class: Broken Access Control

EPSS: 0.004 (27.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-1321?
CVE-2026-1321 is a high-severity vulnerability in Stellarwp Membership Plugin – Restrict Content, classified under Missing Authorization. CVSS score: 8.1/10. Published 2026-03-05.
How severe is CVE-2026-1321?
High severity. CVSS v3 base score is 8.1 out of 10.