CVE-2026-125034 in Forminator Forms Plugin
Summary
by MITRE • 11/26/2026
The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'textarea-1' parameter in all versions up to, and including, 1.58.5 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. Execution is not automatic on page load; the injected script runs only when an administrator actively clicks the stored ThickBox link, at which point WordPress ThickBox JS decodes the entity-encoded title attribute and writes it into #TB_ajaxWindowTitle via innerHTML in the administrator's origin. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/26/2026
The Forminator Forms plugin for WordPress, a widely used tool for creating contact forms, payment interfaces, and custom form structures, contains a critical security flaw in versions up to 1.58.5 that allows for stored cross-site scripting attacks. This vulnerability stems from insufficient input sanitization and output escaping mechanisms within the application code, specifically affecting the textarea-1 parameter when processing user-submitted data. The core issue lies in how the plugin handles and subsequently renders content associated with form submissions, failing to adequately neutralize special characters or script tags before they are stored in the database and later displayed on the frontend or administrative interfaces.
The technical nature of this flaw classifies it as a Stored Cross-Site Scripting vulnerability, which is categorized under CWE-79 in the Common Weakness Enumeration standards. Unlike reflected XSS where malicious scripts are executed immediately upon request processing, stored XSS involves persisting the injected payload within the target application's database or storage mechanism. In this specific instance, an unauthenticated attacker can submit a form containing malicious JavaScript code via the vulnerable textarea field. This code is then saved alongside other form data without proper validation, effectively planting a persistent trap for any user who later views the affected content.
The operational impact of this vulnerability is significant because it enables attackers to execute arbitrary web scripts in the context of users accessing pages that contain the injected payload. However, the exploitation chain requires specific conditions to be met due to the unique rendering behavior associated with WordPress ThickBox functionality. The malicious script does not trigger automatically upon page load; instead, execution occurs only when an administrator actively interacts with a stored link within a ThickBox modal window. When this interaction happens, the WordPress ThickBox JavaScript library decodes entity-encoded attributes and writes them into the DOM element identified as #TB_ajaxWindowTitle using innerHTML operations. This specific mechanism allows the attacker's script to run in the origin of the administrator, bypassing same-origin policy protections that might otherwise limit the scope of the attack.
From a threat intelligence perspective, this vulnerability aligns with MITRE ATT&CK technique T1059.007, which covers JavaScript execution within web browsers. The requirement for an administrative action to trigger the payload means that while the initial access is unauthenticated, the successful exploitation relies on social engineering or prior compromise of a user account who has permissions to view specific form submissions. This multi-stage attack vector increases the complexity but also the potential severity if high-privilege users are targeted, as it could lead to session hijacking, credential theft, or further lateral movement within the WordPress environment.
Mitigation strategies should prioritize immediate updates to version 1.58.6 or later of the Forminator Forms plugin, where these sanitization and escaping issues have been addressed by the developers. In environments where patching is not immediately feasible, administrators can implement web application firewall rules to detect and block requests containing suspicious script patterns in form submission fields. Additionally, enforcing strict Content Security Policy headers that restrict inline script execution can provide a layer of defense against such injection attempts. Regular auditing of third-party plugins for security best practices and limiting the exposure of administrative interfaces are also recommended defensive measures to reduce the attack surface associated with stored XSS vulnerabilities.