CVE-2026-5524: Divi Form Builder - Unrestricted File Upload
- Cve: CVE-2026-5524
- Name: Divi Form Builder - Unrestricted File Upload
- 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.
- Impact: Unauthenticated attackers can upload and execute arbitrary PHP code, leading to full server compromise.
- Remediation: Update to a version later than 5.1.8 or the latest available version.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03484
- Epss percentile: 0.89412
- Assignee: [email protected]
- Published at: 2026-07-02T13:17:00Z
- Age in days: 145
- Modified at: 2026-10-25T21:10:00Z
- Public exploits total: 3
- References total: 4
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-5524
- Nvd status: deferred
- Checked, none or zero: patch available, public exploits capped, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|
| vulncheck | 2026-07-02 | — | no |
Nuclei templates
Public exploits
Same in every row:
References
Text cells longer than 200 characters are cut (…); version ranges never are. The same query as JSON has every cell whole (the path without .md; MCP format: json).
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-07-02
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2026-07-04
- Remote: yes
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, initial access since, hackerone reports, exposed hosts
Nuclei template