Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess public [wppb-register] form
-
DeliverySubmit role=administrator in signup
-
ExploitMalicious role stored in wp_signups
-
ExecutionClick emailed activation link
-
PersistActivation calls set_role() unvalidated
-
ImpactFully activated admin account created
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent, stable site-state conditions explicitly named in the advisory: (1) a legacy Profile Builder form field with meta-name 'role' carried over from before the 4.0.3 upgrade (the 4.0.3 reserved-name check exempts pre-existing fields, so it persists), (2) email confirmation enabled so the wp_signups activation path is used, and (3) open/public user registration via the [wppb-register] shortcode. The attacker needs no authentication (PR:N) and no third-party interaction (UI:N) - they click their own activation link. The limiting factor is the legacy 'role' field: fresh installs or sites that never defined such a field are not exploitable, which is precisely why CVSS is scored AC:H rather than AC:L. Affected products are all User Profile Builder versions up to and including 4.0.3. |
| Impact | This is a genuine high-impact issue whose real-world risk is meaningfully tempered by its preconditions, so it should be triaged as important-but-conditional rather than a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, score 8.1) correctly captures that the outcome is catastrophic - an unauthenticated attacker obtaining a fully activated administrator account (full confidentiality, integrity, and availability loss) - while the AC:H flag reflects that exploitation is not universal: it depends on specific stable site-state conditions. No EPSS score was provided in the input, and there is no CISA KEV listing and no public exploit identified at time of analysis, so there is no signal of active or widespread exploitation; the issue was reported by Wordfence (a credible WordPress security vendor) rather than observed in attacks. The key nuance is that the AC:H and PR:N/UI:N combination can look contradictory - 'unauthenticated, no interaction' suggests trivial mass exploitation, but AC:H and the description together show the attacker needs the target to have a legacy form field with meta-name 'role' carried over from before the 4.0.3 upgrade, plus email confirmation and open registration enabled. Vulnerable-but-exploitable sites are therefore a subset of installs, pushing this toward targeted or opportunistic-scanning risk rather than guaranteed widespread compromise. Treat as a high-priority patch for any site matching those conditions. |
| Exploit ScenarioDerived | On a vulnerable site (legacy 'role' field present, email confirmation and open registration enabled), an unauthenticated attacker submits the public [wppb-register] shortcode form with role=administrator, which is stored unvalidated into the serialized signup record in wp_signups. The attacker then clicks the confirmation/activation link emailed to their own address, and the activation handler passes the attacker-controlled role directly to WP_User::set_role(), provisioning a fully activated administrator account. No public exploit code was identified at time of analysis, but the attack path is fully described in the Wordfence advisory and plugin source references. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 16, 2026
Unauthenticated privilege escalation in the Cozmoslabs User Profile Builder WordPress plugin (all versions up to and including 4.0.3) allows an attacker to obtain a fully activated administrator account: they submit role=administrator through the public [wppb-register] registration form, then click the activation link emailed to them, and the activation handler applies that role via WP_User::set_role() without any allow-list check. The attack is conditional rather than trivial - the site must already carry a legacy registration form field with meta-name 'role' from before the 4.0.3 upgrade (the 4.0.3 reserved-name block deliberately exempts pre-existing fields), must have email confirmation enabled so the wp_signups path is used, and must allow open user registration. That combination of stable site-state prerequisites is why CVSS 3.1 scores it 8.1 with AC:H despite PR:N/UI:N, and no public exploit code has been identified at the time of analysis.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - the vendor commit that addresses the flaw is WordPress plugin Trac changeset 3741133 (https://plugins.trac.wordpress.org/changeset/3741133/profile-builder), which modifies features/email-confirmation/email-confirmation.php among other files, so affected sites should apply the vendor's next release beyond 4.0.3 or pull the patched trunk once a tagged build is published, rather than relying on 4.0.3 itself. Until that upgrade is verified, the most direct compensating control is to inspect the registration form configuration and remove or rename any legacy field whose meta-name is 'role'; this eliminates the bridging field that the 4.0.3 reserved-name exemption lets through, at the cost of breaking any custom form or template that still expects that field to exist. Disabling open user registration (Settings > General > Membership) or switching the form away from email confirmation so the wp_signups activation path is never used also breaks the attack chain, with the obvious trade-off of preventing legitimate self-service signups. Restricting the [wppb-register] page to trusted networks or placing it behind a WAF rule that rejects role/administrator in registration POST bodies adds defense in depth but is trivially bypassable by parameter-name variation and should not be treated as a substitute for patching. Monitoring wp_users and user-role changes for unexpected administrator creation provides a useful detection backstop if exploitation is suspected.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is improper privilege management (CWE-269) in the Profile Builder signup-to-activation pipeline for WordPress. When open registration and email confirmation are enabled, Profile Builder serializes submitted form data into the wp_signups table and later, on activation, invokes wppb_add_meta_to_user_on_activation(), which forwards the attacker-controlled 'role' value straight into WP_User::set_role() with no allow-list or capability comparison. Version 4.0.3 introduced a reserved-name check intended to stop forms from defining a field named 'role', but that check exempts fields that already exist in the form definition - so a legacy field with meta-name 'role' survives the upgrade and functions as a bridge carrying attacker-supplied request input into the stored signup record. The relevant code paths are in features/email-confirmation/email-confirmation.php (around line 262), front-end/class-formbuilder.php (lines 736 and 793), front-end/register.php (line 91), and admin/admin-functions.php (line 400) of the 4.0.3 tag. The affected CPE identifies the plugin as cozmoslabs:user_profile_builder_-_beautiful_user_registration_forms,_user_profiles_&_user_role_editor, i.e. any install of this plugin at or below 4.0.3. The vulnerability is remote (AV:N) and requires no authentication (PR:N) and no user interaction beyond the attacker clicking their own activation link (UI:N), but the legacy-field precondition reduces attack reliability, which is captured by AC:H.
Know when User Profile Builder Beautiful User Registration Forms User Profiles User Role Editor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable public form and self-clicked activation give AV:N/PR:N/UI:N; dependency on a legacy 'role' field and specific config justifies AC:H; admin takeover yields C:H/I:H/A:H, scope unchanged.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.0.3 via the role parameter handled by the wppb_add_meta_to_user_on_activation() function. The vulnerability exists because the activation handler passes the attacker-supplied role value directly to WP_User::set_role() with no allow-list validation, and the 4.0.3 reserved-name check exempts pre-existing form fields from the block, allowing a legacy field with meta-name role to persist and bridge attacker-controlled request input into the serialized signup record stored in wp_signups. This makes it possible for unauthenticated attackers to gain a fully activated WordPress administrator account by submitting role=administrator through the public [wppb-register] shortcode form and subsequently clicking the confirmation activation link. Exploitation requires the site to have a legacy form field with meta-name role carried over from before the 4.0.3 upgrade, email confirmation enabled, and open user registration - all stable site-state conditions once established.
Executive ViewAI
The Cozmoslabs User Profile Builder WordPress plugin (versions up to 4.0.3) contains a high-severity unauthenticated privilege escalation vulnerability that can allow an attacker to gain full administrator access on affected sites. Although no public exploit identified at time of analysis, the flaw requires specific site configurations-a legacy 'role' registration field, email confirmation enabled, and open registration-making it a significant risk for organizations using this plugin with those settings. Leadership should prioritize immediate mitigation because a successful exploit could lead to complete site compromise, data theft, and reputational damage.
No vendor-released patch identified at time of analysis. Interim mitigations: remove or rename the legacy 'role' form field, disable open user registration, disable email confirmation if possible, and consider disabling the plugin until a patch is available. Additionally, monitor for unauthorized administrator accounts and review logs for suspicious activation events.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
More in User Profile Builder Beautiful User Registration Forms User Profiles User Role Editor
View allStored cross-site scripting in the WordPress Profile Builder plugin (Cozmoslabs) affects all versions up to and includin
Stored cross-site scripting in the User Profile Builder WordPress plugin (Cozmoslabs, versions ≤3.15.7) permits unauthen
Stored cross-site scripting in the WordPress plugin User Profile Builder (Profile Builder) through version 4.0.2 allows
Stored cross-site scripting in the WordPress Profile Builder plugin (CozmoLabs) affects all versions up to and including
Stored Cross-Site Scripting in the User Profile Builder WordPress plugin (versions up to and including 4.0.0) allows aut
Stored cross-site scripting in the WordPress plugin User Profile Builder (Profile Builder by Cozmoslabs) through version
Stored XSS in the User Profile Builder WordPress plugin (all versions through 4.0.0) allows unauthenticated attackers to
User Profile Builder plugin for WordPress up to version 3.15.5 allows authenticated subscribers and above to reassign ow
EUVD-2026-102672
GHSA-gqmr-m2rf-7c75
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB