Vulnerability in weForms – Easy Drag & Drop Contact Form Builder For WordPress — CVE-2026-110253
What to do now
Update weForms – Easy Drag & Drop Contact Form Builder For WordPress to 1.6.29 or later.
Affected versions
- Everything up to and including 1.6.28
Affected: weForms – Easy Drag & Drop Contact Form Builder For WordPress (plugin, weforms)
What the vulnerability is
The weForms – Easy Drag & Drop Contact Form Builder For WordPress plugin for WordPress is vulnerable to limited media file deletion due to insufficient file path validation in the weforms_delete_entry_attachments function in all versions up to, and including, 1.6.28 This makes it possible for unauthenticated attackers to delete arbitrary media files on the server. This requires an administrator to permanently delete the poisoned form entry, a routine moderation action for spam-looking submissions that an attacker can prompt through social engineering.
Sources
- https://github.com/BoldGrid/weforms/tree/1.6.29
- https://plugins.trac.wordpress.org/browser/weforms/tags/1.6.28/includes/class-ajax.php#L1056
- https://plugins.trac.wordpress.org/browser/weforms/tags/1.6.28/includes/class-ajax.php#L627
- https://plugins.trac.wordpress.org/browser/weforms/tags/1.6.28/includes/class-ajax.php#L711
- https://plugins.trac.wordpress.org/browser/weforms/tags/1.6.28/includes/fields/class-field-image.php#L138
- https://plugins.trac.wordpress.org/browser/weforms/tags/1.6.28/includes/functions.php#L362