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

9.8
Improper Privilege Management
CVE CVE-2026-5118
CVSS 9.8 (Critical)
Publicly Published May 20, 2026
Last Updated May 21, 2026
Researcher 0xd4rk5id3 - EnvoraSec

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.

References

Share

Vulnerability Details for Divi Form Builder

Software Type Plugin
Software Slug divi-form-builder
Patched? Yes
Remediation Update to version 5.1.3, or a newer patched version
Affected Version
  • <= 5.1.2
Patched Version
  • 5.1.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation