Privilege escalation in Divi Engine Form Builder
CVE-2026-5118
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.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 42.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Divi Engine Form Builder — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
6 public repositories with exploit or proof-of-concept code for this CVE:
- zycoder0day/CVE-2026-5118 (5 stars, last pushed 2026-05-21): CVE-2026-5118 | Divi Form Builder <= 5.1.2 | Unauthenticated Privilege Escalation via Role Injection
- puj790201-lab/CVE-2026-5118 (1 star, last pushed 2026-05-21): CVE-2026-5118-exp_wordpress_Divi Form Builder
- SangSenimanWartefak/CVE-2026-5118 (last pushed 2026-09-22)
- 1beelze/CVE-2026-5118 (last pushed 2026-07-13)
- Jenderal92/CVE-2026-5118 (last pushed 2026-05-30): CVE-2026-5118 – Python2 mass exploit for Divi WordPress plugin Unauthenticated administrator registration via admin-ajax.php. Multi‑threaded scanner with nonce extraction.
- Yucaerin/CVE-2026-5118 (last pushed 2026-05-22): Divi Form Builder <= 5.1.2 — Unauthenticated Privilege Escalation via Role Injection
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.