CVE-2026-5118
CWE-269Published: May 21, 2026· Updated: May 21, 2026
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.
Risk Analysis
This critical vulnerability (CVSS 9.8) in the Divi Form Builder plugin for WordPress allows privilege escalation. Unauthenticated attackers can create administrator accounts by manipulating the 'role' parameter during user registration. This bypasses intended access controls and grants full administrative control.
No public exploit is currently known for this remotely exploitable vulnerability. The low attack complexity means an attacker could easily exploit this flaw by tampering with POST data during registration.
Update the Divi Form Builder plugin to a version beyond 5.1.2. Implement robust input validation for user registration forms and consider using a web application firewall (WAF) to detect and block malicious requests.
Technical Analysis
CVE-2026-5118 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
All References (2)
Quick Facts
Related CVEs (CWE-269)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-5118 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts