WeForms <= 1.6.28 - Unauthenticated Insecure Direct Object Reference to Arbitrary Attachment Deletion via Upload Field Values
- ID
- WPSEC-2026-1203
- Plugin
- weForms – Easy Drag & Drop Contact Form Builder For WordPress (weforms)
- Affected
- from 1.3.5 before 1.6.29
- Remediation
- Update to 1.6.29 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- Weakness
- CWE-639
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-17
- Attack surface
- WeForms on WPSec AttackSurface
- Fix released
- Published
Description
The weForms plugin for WordPress is vulnerable to Insecure Direct Object Reference via the image and file upload field values of a front-end form submission in all versions up to, and including, 1.6.28, due to missing validation on a user controlled key. Attachment IDs submitted in an upload field are saved with the entry without checking that the submitter uploaded them, and every stored ID is force-deleted when the entry is permanently deleted. This makes it possible for unauthenticated attackers to add any media library attachment to a form entry. That attachment and its file are permanently deleted when an administrator permanently deletes the entry.
References
- https://wpsec.com/vuln/WPSEC-2026-1203/
- https://plugins.svn.wordpress.org/weforms/tags/1.6.29/
- https://wordpress.org/plugins/weforms/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS