User Registration & Membership <= 5.3.1 - Unauthenticated Stored Cross-Site Scripting via Checkbox Field Value
The User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'user_registration_<checkbox_field_name>[]' parameter in all versions up to, and including, 5.3.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The self-registration endpoint (wp_ajax_nopriv_user_registration_user_form_submit) requires no nonce, allowing an unauthenticated attacker to create a Subscriber account and then supply the malicious checkbox value through the authenticated profile-update action using a legitimately obtained nonce.