WordPress · Divi Form Builder · CVE-2026-5524
**Name of the Vulnerable Software and Affected Versions**
Divi Form Builder versions prior to 5.1.9
**Description**
Insufficient file extension validation in the `do image upload()` function allows unauthenticated attackers to perform arbitrary file uploads, leading to Remote Code Execution. The issue occurs because user-supplied input from the `acceptFileTypes` POST parameter is directly interpolated into a regular expression used for validation. Attackers can bypass `.htaccess` protections by using PHP-executable extensions such as `.phtml`, `.phar`, `.php5`, or `.php7`. On Nginx-based servers, the `.htaccess` protection is entirely ineffective. An attacker can obtain a nonce from any public page containing a form to upload executable PHP files to the `/wp-content/uploads/de fb uploads/` directory and execute them via HTTP.
**Recommendations**
Update Divi Form Builder to version 5.1.9 or later.
As a temporary mitigation, restrict access to the `/wp-content/uploads/de fb uploads/` directory to prevent the execution of uploaded files.