# CVE-2026-5118: Divi Form Builder <= 5.1.2 - Unauthenticated Privilege Escalation via 'role'

- Severity: Critical 9.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-05-21T11:32:00.451Z
- Modified: 2026-07-23T16:10:00.137Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Wordfence

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

(As written by CVE List.)

## Affected

- Divi Engine Divi Form Builder: up to 5.1.2

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/72154404-f956-4ea2-96ec-166ade87885f?source=cve>
- <https://diviengine.com/divi-form-builder-changelog/>

## Sources

- CVE List: [CVE-2026-5118](https://www.cve.org/CVERecord?id=CVE-2026-5118), CVE Terms of Use, modified 2026-05-21
- NVD: [CVE-2026-5118](https://nvd.nist.gov/vuln/detail/CVE-2026-5118), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-5118 · Whole record: https://cve.day/CVE-2026-5118.json · Rebuilt by cve.day 2026-11-25T22:59:22.104Z
