Executive brief
Forminator Forms is a popular WordPress plugin for building contact forms, payment forms, and custom form builders. The plugin is vulnerable to Stored Cross-Site Scripting (XSS) in its radio field handling, allowing unauthenticated attackers to inject malicious scripts that persist in the database and execute whenever site administrators view submissions. An attacker can exploit this to steal admin credentials, modify site content, inject malware, or compromise the entire WordPress installation.
Technical details
The vulnerability exists in the "Save and Continue Draft" AJAX functionality, which is registered as nopriv (accessible to unauthenticated users). The radio field handler fails to properly sanitize user input and does not perform adequate output escaping. Attackers can bypass radio field option-membership validation by directly submitting crafted payloads to the draft endpoint. When an administrator views the Submissions page, the stored payload is rendered and automatically executed via the Inputmask library's data-attribute callback binding mechanism. The vulnerability affects all versions up to and including 1.57.0.2. Patches addressing the input sanitization and output escaping issues are expected in future releases.
Affected products
- Forminator Forminator Forms up to and including 1.57.0.2
Timeline
- 2026-08-25: disclosed