CVE-2026-5524 Details
Description
The Divi Form Builder plugin for WordPress is vulnerable to Arbitrary File Upload leading to Remote Code Execution in all versions up to and including 5.1.8. This is due to insufficient file extension validation in the do_image_upload() function where user-supplied input from the acceptFileTypes POST parameter is directly interpolated into a regular expression used to validate uploaded files. Attackers can specify PHP-executable extensions such as .phtml, .phar, .php5, or .php7 to bypass the plugin's .htaccess protection which only blocks .php files specifically. Additionally, on Nginx-based servers, the .htaccess protection is completely ineffective as Nginx does not process .htaccess files. This makes it possible for unauthenticated attackers (who can obtain a nonce from any public page containing a form) to upload executable PHP files to the publicly accessible /wp-content/uploads/de_fb_uploads/ directory and achieve Remote Code Execution by accessing the uploaded file via HTTP. The vulnerability was partially patched in version 5.1.3.
A vulnerability exists in the Divi Form Builder plugin for WordPress, in all versions prior to and including 5.1.8. The issue allows for arbitrary file uploads, which can lead to remote code execution. This vulnerability arises from inadequate validation of file extensions in the 'do_image_upload()' function. User-supplied input from the 'acceptFileTypes' POST parameter is directly inserted into a regular expression that validates uploaded files. Attackers can exploit this by uploading files with PHP-executable extensions, such as .phtml, .phar, .php5, or .php7, bypassing the plugin's .htaccess restrictions that only target .php files. On Nginx servers, the .htaccess rules are completely ignored, creating an opportunity for unauthenticated attackers to upload malicious PHP files to the '/wp-content/uploads/de_fb_uploads/' directory. These files can then be executed via HTTP, leading to remote code execution.
Users are advised to update the Divi Form Builder plugin to version 5.1.9 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 2, 2026CISA-ADP
Assessed Jul 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://diviengine.com/divi-form-builder-changelog/ | [email protected] | ProductRelease NotesVendor |
| https://www.wordfence.com/threat-intel/vulnerabilities/id/9692deb2-2526-4983-8a13-93a382e230c8?source=cve | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Divi Engine Divi Form Builder | <= 5.1.8 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 2, 2026 | CVE Modified | CISA-ADP |
| Jul 2, 2026 | New CVE Received | [email protected] |
Volerion