Divi Form Builder <= 5.1.8 - Unauthenticated Arbitrary File Upload Leading to Remote Code Execution via…
No fixed version listed yet.Check the vendor advisory. References ↓
Divi Engine · Divi Form Builder
The Divi Form Builder WordPress plugin, up to and including version 5.1.8, contains an arbitrary file upload flaw in its do_image_upload() function, where the user-supplied acceptFileTypes parameter is interpolated unsafely into the file validation regex, allowing executable extensions such as .phtml, .phar, .php5 and .php7 to pass. An unauthenticated remote attacker who can obtain a form nonce from any public page containing a form can upload a PHP file to the publicly accessible uploads directory and run it over HTTP, with the .htaccess protection being ineffective on Nginx servers.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited the day it was disclosed.
Affected versions and fixes
as published in the CVE recordDivi Engine Divi Form Builder
Affected: <= 5.1.8
What security researchers reported
Not named in any threat report yetAlso mentioned in 3 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Jul 5, 2026 | Part 1/24 Jul 2026
- Known_Cve | Jul 4, 2026 | Part 2/23 Jul 2026
- Known_Cve | Jul 3, 2026 | Part 2/22 Jul 2026