Vulnerability · Published May 21, 2026 · Assigned by Wordfence
CVE-2026-5118Divi Form Builder <= 5.1.2 - Unauthenticated Privilege Escalation via 'role'
Critical 9.8
In plain English
A critical-severity privilege mismanagement in Divi Form Builder from Divi Engine. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Divi Engine | Divi Form Builder | 0 – through 5.1.2 |
Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H