Forminator Forms – Contact Form, Payment Form & Custom Form Builder <= 1.55.0.1 - Unauthenticated Stored Cross-Site Scripting
Description
The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.55.0.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NTechnical Details
What Changed in the Fix
Changes introduced in v1.55.0.2
Source Code
WordPress.org SVNphp` - Action: `forminator_submit_form_ajax` (or `forminator_submit_poll_ajax`) - Parameter: The value of the "Other" input field (e.g., `radio-1-other`). - Authentication: None. **Exploitation Strategy:** 1. Identify a Poll or Form with a Radio field that has the "Other" option enabled. 2. Submit …
Show full research plan
php`
- Action:
forminator_submit_form_ajax(orforminator_submit_poll_ajax) - Parameter: The value of the "Other" input field (e.g.,
radio-1-other). - Authentication: None.
Exploitation Strategy:
- Identify a Poll or Form with a Radio field that has the "Other" option enabled.
- Submit the form/poll via AJAX with a payload in the "Other" field.
- Access the page where the results are displayed (or wait for an admin to view the entries).
Nonce Acquisition:
Forminator forms usually require a nonce for submission.
The nonce is localized in the page source.
JS variable: window.ForminatorFront?.nonce or similar.
Wait, let's look at front.loader.js:
defaults = {
// ...
nonce: false,
// ...
};
// ...
param.nonce = this.settings.nonce;
The loader uses a nonce.
Let's find the localization key.
In Forminator, it's usually forminator_front_config.
Key: forminator_front_config.admin_ajax_nonce or the form's specific nonce.
Actually, Forminator generates a unique nonce for each form.
It's often found in a hidden input field: name="forminator_nonce".
**Wait, I
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.