{"id":"CVE-2026-5118","published":"2026-05-21T11:32:00Z","modified":"2026-05-21T14:16:06Z","title":"Divi Form Builder <= 5.1.2 - Unauthenticated Privilege Escalation via 'role'","vendor":"Divi Engine","product":"Divi Form Builder","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00487,"percentile":0.42841,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/72154404-f956-4ea2-96ec-166ade87885f?source=cve","tags":[]},{"url":"https://diviengine.com/divi-form-builder-changelog/","tags":[]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":8.57},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":4,"skipped":2,"earliest":"2026-05-21","earliestUrl":"https://github.com/zycoder0day/CVE-2026-5118","repos":[{"name":"zycoder0day/CVE-2026-5118","url":"https://github.com/zycoder0day/CVE-2026-5118","stars":5,"created":"2026-05-21"},{"name":"puj790201-lab/CVE-2026-5118","url":"https://github.com/puj790201-lab/CVE-2026-5118","stars":1,"created":"2026-05-21"},{"name":"Jenderal92/CVE-2026-5118","url":"https://github.com/Jenderal92/CVE-2026-5118","stars":0,"created":"2026-05-21"},{"name":"Yucaerin/CVE-2026-5118","url":"https://github.com/Yucaerin/CVE-2026-5118","stars":0,"created":"2026-05-22"}]},"first":{"date":"2026-05-21","source":"PoC-in-GitHub","url":"https://github.com/zycoder0day/CVE-2026-5118"},"provenance":"source"},"vendorSlug":"divi-engine","affectedVersions":[{"vendor":"Divi Engine","product":"Divi Form Builder","versions":["<= 5.1.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-21T14:15:55.424822Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31270","exploited":false,"provenance":"source"}}