9.8
CRITICAL CVSS 3.1
CVE-2026-5118
Divi Form Builder <= 5.1.2 - Unauthenticated Privilege Escalation via 'role'
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.

INFO

Published Date :

May 21, 2026, 1:16 p.m.

Last Modified :

July 23, 2026, 4:10 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-5118 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 CRITICAL [email protected]
Solution
Update the Divi Form Builder plugin to the latest version to fix privilege escalation.
  • Update the Divi Form Builder plugin.
  • Verify user registration role.
  • Remove the plugin if not needed.
Public PoC/Exploit Available at Github

CVE-2026-5118 has a 6 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-5118.

URL Resource
https://diviengine.com/divi-form-builder-changelog/
https://www.wordfence.com/threat-intel/vulnerabilities/id/72154404-f956-4ea2-96ec-166ade87885f?source=cve
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-5118 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-5118 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : July 13, 2026, 5:45 a.m. This repo has been linked 1 different CVEs too.

Divi Form Builder <= 5.1.2 — Unauthenticated Privilege Escalation via Role Injection

Python

Updated: 2 months ago
0 stars 1 fork 1 watcher
Born at : May 22, 2026, 7:53 a.m. This repo has been linked 1 different CVEs too.

CVE-2026-5118 – Python2 mass exploit for Divi WordPress plugin Unauthenticated administrator registration via admin-ajax.php. Multi‑threaded scanner with nonce extraction.

exploit mass-exploit penetration-testing privilege-escalation python2 unauthenticated vulnerability-scanner wordpress cve-2026-5118

Python

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : May 21, 2026, 10:45 p.m. This repo has been linked 1 different CVEs too.

CVE-2026-5118-exp_wordpress_Divi Form Builder

Python

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : May 21, 2026, 1:08 p.m. This repo has been linked 1 different CVEs too.

CVE-2026-5118 | Divi Form Builder <= 5.1.2 | Unauthenticated Privilege Escalation via Role Injection

Updated: 2 months ago
5 stars 0 fork 0 watcher
Born at : May 21, 2026, 10:12 a.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 week ago
7922 stars 1275 fork 1275 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 646 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-5118 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-5118 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Jul. 23, 2026

    Action Type Old Value New Value
    Added Translation Title: plugin de WordPress Divi Form Builder, Description: El plugin Divi Form Builder para WordPress es vulnerable a escalada de privilegios en versiones hasta la 5.1.2, inclusive. Esto se debe a que el plugin acepta un parámetro 'role' controlado por el usuario de los datos POST durante el registro de usuarios sin validarlo contra la configuración default_user_role del formulario. Esto hace posible que atacantes no autenticados creen cuentas de administrador manipulando el parámetro 'role' durante el registro.
  • CVE Modified by [email protected]

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'Divi Engine', 'product': 'Divi Form Builder', 'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '5.1.2'}], 'defaultStatus': 'unaffected'}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-5118', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-05-21T14:15:55.424822Z'}
  • New CVE Received by [email protected]

    May. 21, 2026

    Action Type Old Value New Value
    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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-269
    Added Reference https://diviengine.com/divi-form-builder-changelog/
    Added Reference https://www.wordfence.com/threat-intel/vulnerabilities/id/72154404-f956-4ea2-96ec-166ade87885f?source=cve
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.