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.
Published: 2026-05-21
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 21 May 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 21 May 2026 12:30:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-05-21T14:16:06.460Z

Reserved: 2026-03-30T03:45:32.729Z

Link: CVE-2026-5118

cve-icon Vulnrichment

Updated: 2026-05-21T14:16:01.280Z

cve-icon NVD

Status : Deferred

Published: 2026-05-21T13:16:20.013

Modified: 2026-05-21T15:19:30.540

Link: CVE-2026-5118

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-21T13:30:11Z

Weaknesses