The User Registration & Membership WordPress plugin before 4.1.2 does not prevent users to set their account role when the Membership Addon is enabled, leading to a privilege escalation issue and allowing unauthenticated users to gain admin privileges
https://wpscan.com/vulnerability/2c0f62a1-9510-4f90-a297-17634e6c8b75/