Divi Engine Divi Form Builder
Divi Form Builder <= 5.1.8 - Unauthenticated Arbitrary File Upload Leading to Remote Code Execution via 'acceptFileTypes' Parameter
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 5.1.8
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Release notes diviengine.com/divi-form-builder-changelog
Timeline
Days relative to CVE publicationFirst public PoC 1.6 days after publication; not in CISA KEV. First PoC: iicaicai/CVE-2026-5524-PoC (created 4 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 not a PoC
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| iicaicai/CVE-2026-5524-PoC | 4 Jul 2026 +1.6 d | 0 | PoC |
Not a PoC 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| zen-studi/CVE20265524 | 18 Oct 2026 +108 d | 15 Nov 2026 | 0 | Not a PoC · unrelated
Flags · score 25
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Divi Form Builder <=5.1.8 - Unauthenticated Arbitrary File Upload RCE | 14 Sep 2026 | 14 Nov 2026 |