Impact
The vulnerability allows an unauthenticated user to submit a role parameter through the public registration form, which is then directly passed to the WordPress user role assignment function without validation. This results in the attacker being able to set the role to administrator, giving them full administrative control over the site. The weakness is a privilege escalation flaw.
Affected Systems
WordPress sites running the User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor plugin, versions up to and including 4.0.3. The issue applies when a legacy form field with meta-name role is present, email confirmation is enabled, and user registration is open. All affected sites must investigate whether the legacy field still exists.
Risk and Exploitability
The CVSS score is 8.1, indicating high severity. The EPSS score is not available, but the conditions for exploitation—an open registration form, legacy field, and email confirmation—are common in WordPress installations. The KEV status is not listed. The likely attack vector is a remote unauthenticated HTTP request to the public registration shortcode; attackers can trigger the vulnerability without authentication by submitting role=administrator through the form.
OpenCVE Enrichment