Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
Lifecycle Timeline
1DescriptionCVE.org
The Divi Form Builder plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 5.1.2. This is due to the plugin accepting a user-controlled 'role' parameter from POST data during user registration without validating it against the form's configured default_user_role setting. This makes it possible for unauthenticated attackers to create administrator accounts by tampering with the role parameter during registration.
AnalysisAI
Privilege escalation in the Divi Form Builder WordPress plugin (versions ≤5.1.2) allows unauthenticated remote attackers to register administrator accounts by submitting a tampered 'role' parameter in the registration POST body. The plugin trusts the client-supplied role value instead of enforcing the form's configured default_user_role, yielding full WordPress site takeover. No public exploit identified at time of analysis, but the CVSS 9.8 score and trivial exploitability make this a high-priority patch for any site running the plugin with public registration forms.
Technical ContextAI
The vulnerability resides in Divi Form Builder, a commercial WordPress plugin from Divi Engine (CPE cpe:2.3:a:divi_engine:divi_form_builder:*:*:*:*:*:*:*:*) that provides drag-and-drop registration forms integrated with the Divi page builder ecosystem. WordPress exposes a wp_insert_user() / wp_create_user() workflow where the 'role' meta is normally hard-coded by the calling form handler; here the plugin reads the 'role' field directly from $_POST without comparing it to the form's stored default_user_role configuration. This is a textbook CWE-269 (Improper Privilege Management) issue - a mass-assignment style flaw where a security-sensitive attribute is sourced from untrusted client input rather than server-side configuration.
RemediationAI
Patch available per vendor advisory - consult the Divi Engine changelog at https://diviengine.com/divi-form-builder-changelog/ for the fixed release post-5.1.2 and upgrade immediately; a specific patched version is not independently confirmed from the provided references. Until upgrade, mitigate by disabling or deactivating any Divi Form Builder registration forms exposed to unauthenticated users (this removes the registration capability for legitimate signups), or restrict access to the WordPress registration endpoint via a WAF rule that strips the 'role' POST parameter on requests to admin-ajax.php and the plugin's form handler URLs. Operators should also audit wp_users for newly created accounts with administrator role and review wp_usermeta for unexpected role assignments since the plugin was installed. Wordfence customers receive virtual patching via firewall rules; details at https://www.wordfence.com/threat-intel/vulnerabilities/id/72154404-f956-4ea2-96ec-166ade87885f?source=cve.
More in Divi Form Builder
View allArbitrary file upload leading to remote code execution in the Divi Form Builder WordPress plugin (versions through 5.1.8
Privilege escalation to full account takeover in the Divi Form Builder WordPress plugin (versions up to and including 5.
Same weakness CWE-269 – Improper Privilege Management
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31270
GHSA-75vq-ppvv-frh3