CVE-2026-5118

Divi Form Builder <= 5.1.2 - Unauthenticated Privilege Escalation via 'role'

2026-05-20 00:00
0xd4rk5id3

Strategic Overview

Status
Patched in 5.1.3
Affected Plugin
Divi Form Builder
Affected Version
<= 5.1.2
CVSS
9.8Critical
Weakness type
CWE-269 · Improper Privilege Management
CVE
CVE-2026-5118
View all Divi Form Builder vulnerabilities

At a glance

CVE-2026-5118 is a critical-severity Improper Privilege Management vulnerability in the Divi Form Builder WordPress plugin, affecting versions <= 5.1.2. It carries a CVSS score of 9.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 5.1.3; sites on affected versions should update now. Disclosed May 2026, reported by 0xd4rk5id3.

Vulnerability Overview

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.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-269: Improper Privilege Management

Divi Form Builder <= 5.1.2 carries this weakness at role, and reaching it takes no account at all. Improper privilege management means the code lets an account end up with capabilities its role should not have.

It converts a low-privileged account into an administrative one, which makes every other restriction on the site irrelevant. For Divi Form Builder the fix is 5.1.3: builds <= 5.1.2 are affected, anything from 5.1.3 onward is not.

Remediation

Update to version 5.1.3, or a newer patched version

How does WordSec protect against this?

This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: Divi Form Builder 5.1.3 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C