weForms – Easy Drag & Drop Contact Form Builder For WordPress <= 1.6.30 - Unauthenticated Arbitrary Shortcode Execution via 'success_message' Parameter and Prefilled Field Values
- ID
- WPSEC-2026-4568
- Plugin
- weForms – Easy Drag & Drop Contact Form Builder For WordPress (weforms)
- Affected
- from 1.2.0 before 1.6.31
- Remediation
- Update to 1.6.31 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weakness
- CWE-94
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-12-03
- Attack surface
- weForms – Easy Drag & Drop Contact Form Builder For WordPress on WPSec AttackSurface
- Fix released
- Published
Description
The weForms plugin for WordPress is vulnerable to arbitrary shortcode execution via the 'success_message' query parameter and dynamically prefilled field values in all versions up to, and including, 1.6.30, due to the form preview/share page inserting the form output, which includes request text that keeps square brackets, into the post content before WordPress runs its shortcode pass. This makes it possible for unauthenticated attackers who know a form's share link (sharing must be enabled for the form) to execute arbitrary shortcodes. Users with the edit_posts capability (Contributor+) can do the same through the form preview page.
References
- https://wpsec.com/vuln/WPSEC-2026-4568/
- https://plugins.svn.wordpress.org/weforms/tags/1.6.31/
- https://wordpress.org/plugins/weforms/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS