CVE-2026-12497
Description
The Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content WordPress plugin before 4.16.18 does not consistently enforce the role restriction configured on its front-end registration role-selection field. The set of roles offered to the visitor and the set of roles the registration handler accepts are derived by two different parsers, and for some valid ways of configuring the offered roles the handler ignores the restriction and falls back to accepting any non-administrator role. Combined with the absence of a nonce on the public registration handler, this allows an unauthenticated visitor to register an account with a higher role, such as Editor or Author, than the form was configured to offer.
How to fix
- Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content4.16.18 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content | v < 4.16.18 | 4.16.18 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.