What’s Vulnerable › Vulnerabilities
CVE-2026-5118: Divi Form Builder <= 5.1.2 - Unauthenticated Privilege Escalation via 'role'
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-21 · updated 2026-07-23
- Weakness: CWE-269
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
- Divi Engine Divi Form Builder: through 5.1.2
References
- https://diviengine.com/divi-form-builder-changelog/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/72154404-f956-4ea2-96ec-166ade87885f?source=cve
Get alerted when CVE-2026-5118 or the next vulnerability affects your stack