CVE-2026-5118

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

Published May 21, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Divi Form Builder plugin contains a flaw that permits unauthenticated users to specify an arbitrary role when creating a new account. Because the role field is not validated against the form’s default_user_role, an attacker can submit a role of administrator and have the system create an admin‑level account. This results in full privilege escalation with the ability to modify site settings, manage content, and access sensitive data.

Affected Systems

The vulnerability is present in Divi Engine’s Divi Form Builder for WordPress in all releases up to and including version 5.1.2. Systems running this plugin without an updated version are at risk; the risk is limited to environments where the form is enabled and registration is open to the public.

Risk and Exploitability

The flaw has a CVSS score of 9.8, indicating a high‑severity critical vulnerability. No EPSS data is available, but the nature of the flaw—a simple, unauthenticated POST to a publicly visible registration endpoint—implies that it could be exploited quickly if an attacker discovers the form. Because the flaw is not listed in the National Vulnerability Databases KEV catalog, there is no advisory evidence of active exploitation yet, yet the high impact warrants urgent attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Divi Form Builder to the latest version (5.1.3 or newer) which removes the ability to override the role field.
  • If an upgrade is not immediately possible, configure the plugin to disable role selection during registration and enforce the default_user_role setting.
  • Remove or restrict the form’s public access to prevent unauthenticated registrations if the plugin can’t be updated promptly.

Generated by OpenCVE AI on May 21, 2026 at 13:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Divi Engine
Divi Engine divi Form Builder
Wordpress
Wordpress wordpress
Vendors & Products Divi Engine
Divi Engine divi Form Builder
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Divi Form Builder <= 5.1.2 - Unauthenticated Privilege Escalation via 'role'
Weaknesses CWE-269
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
May 21, 2026, 2:16 PM
Reserved
Mar 30, 2026, 3:45 AM
Status
Deferred
Published
May 21, 2026, 1:16 PM
Modified
Jul 23, 2026, 4:10 PM