CVE-2026-5118 PUBLISHED

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

Assigner: Wordfence
Reserved: 30.03.2026 Published: 21.05.2026 Updated: 21.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor Divi Engine
Product Divi Form Builder
Versions Default: unaffected
  • affected from 0 to 5.1.2 (incl.)

Credits

  • Jude Nwadinobi finder

References

Problem Types

  • CWE-269 Improper Privilege Management CWE