Home

Description

The Drag and Drop File Upload for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file upload in versions up to, and including, 1.1.3. This is due to the plugin extracting the file extension before sanitization occurs and allowing the file type parameter to be controlled by the attacker rather than being restricted to administrator-configured values, which when combined with the fact that validation occurs on the unsanitized extension while the file is saved with a sanitized extension, allows special characters like '$' to be stripped during the save process. This makes it possible for unauthenticated attackers to upload arbitrary PHP files and potentially achieve remote code execution, however, an .htaccess file and name randomization is in place which restricts real-world exploitability.

PUBLISHED Reserved 2026-04-01 | Published 2026-04-24 | Updated 2026-04-24 | Assigner Wordfence




HIGH: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-434 Unrestricted Upload of File with Dangerous Type

Product status

Default status
unaffected

Any version
affected

Timeline

2026-04-01:Vendor Notified
2026-04-23:Disclosed

Credits

Thomas Sanzey finder

References

www.wordfence.com/...-17d5-46f4-9d64-6e3b0552bf9d?source=cve

plugins.trac.wordpress.org/...form-7/trunk/backend/index.php

plugins.trac.wordpress.org/...7/tags/1.1.2/backend/index.php

plugins.trac.wordpress.org/...form-7/trunk/backend/index.php

plugins.trac.wordpress.org/...7/tags/1.1.2/backend/index.php

plugins.trac.wordpress.org/...form-7/trunk/backend/index.php

plugins.trac.wordpress.org/...7/tags/1.1.2/backend/index.php

plugins.trac.wordpress.org/...orm-7/trunk/frontend/index.php

plugins.trac.wordpress.org/.../tags/1.1.2/frontend/index.php

plugins.trac.wordpress.org/...t-form-7&sfp_email=&sfph_mail=

cve.org (CVE-2026-5364)

nvd.nist.gov (CVE-2026-5364)

Download JSON