Divi Form Builder <=5.1.8 - Unauthenticated Arbitrary File Upload RCE
The Divi Form Builder plugin for WordPress versions 5.1.8 and prior contains an unauthenticated arbitrary file upload vulnerability in the do_image_upload() AJAX handler. The user-controlled acceptFileTypes POST parameter is injected unsanitized into a PHP regex for file extension validation. By supplying acceptFileTypes=phtml the constructed regex accepts .phtml files while the plugin's .htaccess only blocks .php, so Apache executes .phtml files as PHP. The required nonce (fb_nonce) is publicly embedded in any page containing a Divi form via the de_fb_obj JavaScript object. Uploaded shells land in /wp-content/uploads/de_fb_uploads/. Fixed in 5.1.9. References: https://nvd.nist.gov/vuln/detail/CVE-2026-5524 https://github.com/caterscam/CVE-2026-5524-PoC https://wpscan.com/vulnerability/CVE-2026-5524 Remediation: Update the Divi Form Builder plugin to version 5.1.9 or later, which validates file extensions without relying on the user-controlled acceptFileTypes parameter.
Used 20 times · 10 assets checked · domain, subdomain, ipv4