Forminator Forms – Contact Form, Payment Form & Custom Form Builder <= 1.58.4 - Unauthenticated Stored Cross-Site Scripting via Rich-Text Textarea Draft Values and Merge Tags
- ID
- WPSEC-2026-3337
- Plugin
- Forminator Forms – Contact Form, Payment Form & Custom Form Builder (forminator)
- Affected
- all versions before 1.58.5
- Remediation
- Update to 1.58.5 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-18
- Attack surface
- Forminator Forms – Contact Form, Payment Form & Custom Form Builder on WPSec AttackSurface
- Fix released
- Published
Description
The Forminator Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via saved draft values of rich-text textarea fields in all versions up to, and including, 1.58.4. This is due to draft content being rendered inside a <textarea> element with wp_kses_post() rather than textarea escaping, a rich-text sanitizer that still allowed textarea elements and reserved forminator- classes, and front-end merge-tag rendering that inserted resolved values as HTML without sanitization when the form had no HTML field. This makes it possible for unauthenticated attackers to save a draft whose content breaks out of the textarea and injects merge-tag markup that resolves to attacker-supplied HTML, executing arbitrary web scripts in the browser of a user who opens the draft link.
References
- https://wpsec.com/vuln/WPSEC-2026-3337/
- https://plugins.svn.wordpress.org/forminator/tags/1.58.5/
- https://wordpress.org/plugins/forminator/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS