Divi Forms Styler <= 4.1.0 - Unauthenticated Arbitrary Shortcode Execution via Submitted Form Field Values
- ID
- WPSEC-2026-2160
- Plugin
- CF7 Mate – Contact Form 7 Styler, Multi-Step Forms & Conditional Logic (cf7-styler-for-divi)
- Affected
- all versions before 4.1.1
- Remediation
- Update to 4.1.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weakness
- CWE-94
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-30
- Attack surface
- Divi Forms Styler on WPSec AttackSurface
- Fix released
- Published
Description
The CF7 Mate plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via submitted form field values in all versions up to, and including, 4.1.0, due to the Grid layout feature (enabled by default) running do_shortcode() over the complete rendered Contact Form 7 form markup, and the plugin's form-tag processors parsing that markup, without encoding the square brackets in submitted values that Contact Form 7 writes back into the form after a failed non-AJAX submission. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes, from this or any other active plugin, by entering them into a form field and submitting the form so that it is redisplayed with validation errors.
References
- https://wpsec.com/vuln/WPSEC-2026-2160/
- https://plugins.svn.wordpress.org/cf7-styler-for-divi/tags/4.1.1/
- https://wordpress.org/plugins/cf7-styler-for-divi/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS