{"id":"CVE-2026-5524","published":"2026-07-02T12:34:40Z","modified":"2026-07-02T15:00:12Z","title":"Divi Form Builder <= 5.1.8 - Unauthenticated Arbitrary File Upload Leading to Remote Code Execution via…","vendor":"Divi Engine","product":"Divi Form Builder","tier":"core","eol":null,"affectedVersions":[{"vendor":"Divi Engine","product":"Divi Form Builder","versions":["<= 5.1.8"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-02T15:00:00.754811Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-01T01:03:30Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03484,"percentile":0.89398,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-07-02","exploitedFirstSeen":"2026-07-02","ransomware":false,"evidence":[{"url":"https://patchstack.com/database/wordpress/plugin/divi-form-builder/vulnerability/wordpress-divi-form-builder-plugin-5-1-8-unauthenticated-arbitrary-file-upload-leading-to-remote-code-execution-vulnerability","date":"2026-07-02"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":3,"pulses":[{"name":"Known_Cve | Jul 5, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a49158875bf1a134207bed5","created":"2026-07-04"},{"name":"Known_Cve | Jul 4, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6a47c441c37b481067bea123","created":"2026-07-03"},{"name":"Known_Cve | Jul 3, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6a467367b4b5a0ec2fe3a682","created":"2026-07-02"}],"provenance":"machine"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/9692deb2-2526-4983-8a13-93a382e230c8?source=cve","tags":[]},{"url":"https://diviengine.com/divi-form-builder-changelog/","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-41368","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-41368","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2026-5524","name":"Divi Form Builder <=5.1.8 - Unauthenticated Arbitrary File Upload RCE","severity":"critical","path":"http/cves/2026/CVE-2026-5524.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-5524.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-07-02","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-5524","provenance":"source"},{"date":"2026-07-02","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://patchstack.com/database/wordpress/plugin/divi-form-builder/vulnerability/wordpress-divi-form-builder-plugin-5-1-8-unauthenticated-arbitrary-file-upload-leading-to-remote-code-execution-vulnerability","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":71.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 142 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":17.88,"detail":"percentile 0.8940"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.37,"detail":"3 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}