Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFetch nonce from public form page
-
DeliveryCraft upload with malicious acceptFileTypes regex
-
ExploitUpload .phtml/.phar payload to de_fb_uploads
-
ExecutionRequest uploaded file over HTTP
-
ImpactExecute web shell as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target run the Divi Form Builder plugin at version 5.1.8 or earlier with at least one publicly reachable page containing a Divi form, since the attacker must first harvest a valid nonce from that page. The attacker then abuses the acceptFileTypes POST parameter of the do_image_upload() function to whitelist a PHP-executable extension. Exploitation is materially easier - and the plugin's built-in .htaccess mitigation is entirely bypassed - on Nginx-based servers; on Apache/mod_php it still succeeds because the .htaccess rule blocks only literal .php while .phtml/.phar/.php5/.php7 remain executable in typical configs. Limiting factors: a public form (hence an obtainable nonce) must exist, the uploaded extension must be one the server maps to the PHP interpreter, and the de_fb_uploads directory must be web-accessible; there is no authentication or user-interaction requirement. |
| Impact | The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8) is internally consistent with the description: network-reachable, low-complexity, no privileges or user interaction, full compromise of confidentiality, integrity, and availability via code execution. One nuance to verify: exploitation requires obtaining a valid nonce from a public page that contains a form, which is trivial to script but is a real precondition - it slightly raises attack complexity in practice without changing the unauthenticated nature, so PR:N remains appropriate. No EPSS score, KEV entry, or public POC is present in the provided data, so real-world exploitation cannot be confirmed; the signals available (unauthenticated RCE, popular ecosystem, credible Wordfence disclosure) point to genuine high priority rather than a high-CVSS/low-real-risk case, but the absence of exploitation telemetry should temper claims of active abuse. A notable complication: the description states the flaw was only 'partially patched' in 5.1.3 yet lists all versions through 5.1.8 as vulnerable, meaning even the latest analyzed release is affected - verify a fully fixed version with the vendor before assuming remediation. |
| Exploit ScenarioDerived | An unauthenticated attacker scrapes a nonce from any public page hosting a Divi form, then submits a crafted multipart upload setting acceptFileTypes so the validation regex permits a .phtml (or .phar/.php5/.php7) payload. The malicious file is written to the public /wp-content/uploads/de_fb_uploads/ directory, and the attacker fetches it over HTTP to execute a web shell - trivially reliable on Nginx where the .htaccess safeguard has no effect. No public POC is identified at time of analysis, but the low attack complexity and network attack vector make weaponization straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
Arbitrary file upload leading to remote code execution in the Divi Form Builder WordPress plugin (versions through 5.1.8) lets unauthenticated attackers upload executable PHP files and run arbitrary code on the server. Attacker-controlled input from the acceptFileTypes POST parameter is interpolated directly into the file-validation regex in do_image_upload(), allowing alternate PHP extensions (.phtml, .phar, .php5, .php7) that evade the plugin's .php-only .htaccess block - and on Nginx the .htaccess protection does not apply at all. There is no public exploit identified at time of analysis and it is not in CISA KEV, but the CVSS 9.8 rating and Wordfence's technical disclosure make this a high-priority patching target.
RemediationAI
Because the description marks version 5.1.3 as only a partial fix and lists all versions up to and including 5.1.8 as vulnerable, no fully patched release is independently confirmed from the available data; consult the vendor changelog at https://diviengine.com/divi-form-builder-changelog/ and upgrade to the newest release published after 5.1.8 that explicitly notes the file-upload fix, and confirm the fixed version with the vendor before relying on it. As immediate compensating controls, restrict or block public HTTP access to /wp-content/uploads/de_fb_uploads/ and configure the web server to refuse execution of PHP in the uploads tree - critically, do this at the server level rather than via .htaccess, e.g. an Nginx location block that returns 403 for \.ph(p[0-9]?|tml|ar)$ under /wp-content/uploads/, since Nginx ignores .htaccess and the plugin's default rule only covers .php (side effect: legitimate uploads with those extensions, which should not exist, are blocked). If forms are not needed, deactivate the Divi Form Builder plugin, or place the site behind a WAF/virtual patch (Wordfence provides one per its advisory https://www.wordfence.com/threat-intel/vulnerabilities/id/9692deb2-2526-4983-8a13-93a382e230c8?source=cve) as a stopgap. Review the de_fb_uploads directory for already-uploaded PHP/phtml/phar files as a compromise check.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the Divi Form Builder plugin (CPE cpe:2.3:a:divi_engine:divi_form_builder), an add-on that provides form functionality within the widely used Divi/Elegant Themes WordPress ecosystem. The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type): the do_image_upload() function builds a regular expression from the client-supplied acceptFileTypes value and uses it to decide which uploads are allowed, so an attacker who controls that parameter controls the allow-list. The plugin attempts a defense-in-depth control via an .htaccess file that denies execution of *.php, but this is both incomplete (it does not cover .phtml/.phar/.php5/.php7, which many PHP-FPM/mod_php configurations still execute) and platform-dependent (Nginx ignores .htaccess entirely, nullifying the control). Uploaded files land in the world-reachable /wp-content/uploads/de_fb_uploads/ directory, so a successful upload is directly requestable over HTTP.
Know when Divi Form Builder gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated network upload (PR:N) with a trivially scriptable nonce fetch keeps AC:L; resulting RCE yields full C/I/A impact within the WordPress host (S:U).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.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.
Articles & Coverage 2
Executive ViewAI
The Divi Form Builder WordPress plugin (versions through 5.1.8) contains a critical vulnerability enabling unauthenticated attackers to upload and execute arbitrary code on affected web servers. This vulnerability poses immediate risk of system compromise, data exfiltration, and operational disruption for any organization using this plugin, requiring urgent mitigation within 24 hours regardless of patch availability.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable Divi Form Builder plugin immediately; (2) Configure web server to deny execution of alternate PHP extensions (.phtml, .phar, .php5, .php7) via .htaccess (Apache) or location blocks (nginx); (3) Restrict upload directory permissions to 644 and disable PHP execution within upload folders; (4) Deploy WAF rules to block POST requests containing suspicious file extension payloads; (5) Enable comprehensive logging and monitoring of upload requests and file creation in upload directories; (6) Review server access logs for evidence of prior exploitation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Divi Form Builder
View allPrivilege escalation in the Divi Form Builder WordPress plugin (versions ≤5.1.2) allows unauthenticated remote attackers
Privilege escalation to full account takeover in the Divi Form Builder WordPress plugin (versions up to and including 5.
EUVD-2026-41368
GHSA-7ch9-34jx-wqhr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB