{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5524 exists.","fix":"No fix has been published for CVE-2026-5524 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-5524 is a critical vulnerability in Divi Form Builder, published on 2 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-5524 and fix it if it is affected.\n\nWhat it is: CVE-2026-5524 is a critical vulnerability in Divi Form Builder, published on 2 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5524 exists.\n\nAffected product: Divi Form Builder. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-5524/ (Markdown: https://insights.sbomify.com/CVE-2026-5524/index.md)","id":"CVE-2026-5524","markdown":"https://insights.sbomify.com/CVE-2026-5524/index.md","name":"CVE-2026-5524","record":{"aliases":["GHSA-7ch9-34jx-wqhr"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can upload executable PHP files via the acceptFileTypes parameter to achieve remote code execution on WordPress sites using Divi Form Builder.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-07-04","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-07-04T01:48:59Z","kind":"github_poc","ref":"https://github.com/iicaicai/CVE-2026-5524-PoC","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-5524.yaml","stars":null,"title":"Divi Form Builder \u003c=5.1.8 - Unauthenticated Arbitrary File Upload RCE"}],"tier":"weaponised"},"has_fix":null,"headline":"File upload in Divi Form Builder","id":"CVE-2026-5524","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Stack-Based Buffer Overflow in Notepad++ File Drop Handler leads to DoS","id":"CVE-2026-5525"},"packages":[],"prev":{"headline":"Missing authorization in Divi Form Builder","id":"CVE-2026-5523"},"products":["Divi Form Builder"],"published":"2026-07-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-02","vendors":["Divi Engine"]},"summary":"Unauthenticated attackers can upload executable PHP files via the acceptFileTypes parameter to achieve remote code execution on WordPress sites using Divi Form Builder.","url":"https://insights.sbomify.com/CVE-2026-5524/"}