CVE-2025-5341: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpmudev Forminator Forms – Contact Form, Payment Form & Custom Form Builder
The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id' and 'data-size’ parameters in all versions up to, and including, 1.44.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-5341 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Forminator Forms plugin for WordPress, which is widely used for creating contact, payment, and custom forms. The vulnerability exists due to improper neutralization of input during web page generation, specifically insufficient sanitization and escaping of the 'id' and 'data-size' parameters. This flaw allows authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into form pages. Because the malicious script is stored, it executes every time a user visits the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability is exploitable remotely over the network without user interaction but requires authenticated access, which limits the attack surface to users with some level of trust on the site. The CVSS 3.1 score of 6.4 reflects medium severity, considering the ease of exploitation and the impact on confidentiality and integrity, but no impact on availability. No public exploits have been reported yet, but the vulnerability's presence in a popular WordPress plugin makes it a significant concern. The lack of available patches at the time of publication necessitates immediate mitigation efforts by site administrators.
Potential Impact
The primary impact of this vulnerability is the potential compromise of user confidentiality and integrity on affected WordPress sites. Attackers with Contributor-level access can inject malicious scripts that execute in the browsers of site visitors and administrators, leading to session hijacking, credential theft, unauthorized actions, or defacement. This can erode user trust, damage brand reputation, and potentially lead to further compromise of the website or connected systems. Since the vulnerability requires authenticated access, the risk is somewhat mitigated but remains significant in environments where Contributor-level accounts are common or easily compromised. The stored nature of the XSS means the malicious payload persists and affects all users who visit the infected page, increasing the scope of impact. Organizations relying on Forminator Forms for critical business functions such as payment processing may face additional risks including fraud or data leakage. The absence of known exploits in the wild currently reduces immediate risk but does not preclude future attacks.
Mitigation Recommendations
1. Immediately restrict Contributor-level and higher access to trusted users only, minimizing the risk of malicious input injection. 2. Monitor and audit user activity logs to detect any suspicious form submissions or script injections. 3. Implement a Web Application Firewall (WAF) with robust XSS filtering rules to detect and block malicious payloads targeting the vulnerable parameters. 4. Apply strict Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on the website. 5. Regularly update the Forminator Forms plugin as soon as an official patch is released by the vendor. 6. In the absence of a patch, consider temporarily disabling the plugin or removing the vulnerable form features until remediation is available. 7. Sanitize and validate all user inputs on the server side, especially for parameters like 'id' and 'data-size', using custom code or security plugins. 8. Educate site administrators and contributors about the risks of XSS and safe content submission practices. 9. Conduct periodic security assessments and penetration testing focusing on web application input validation.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, India, Brazil, France, Netherlands, Japan, Italy, Spain
CVE-2025-5341: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpmudev Forminator Forms – Contact Form, Payment Form & Custom Form Builder
Description
The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id' and 'data-size’ parameters in all versions up to, and including, 1.44.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-5341 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Forminator Forms plugin for WordPress, which is widely used for creating contact, payment, and custom forms. The vulnerability exists due to improper neutralization of input during web page generation, specifically insufficient sanitization and escaping of the 'id' and 'data-size' parameters. This flaw allows authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into form pages. Because the malicious script is stored, it executes every time a user visits the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability is exploitable remotely over the network without user interaction but requires authenticated access, which limits the attack surface to users with some level of trust on the site. The CVSS 3.1 score of 6.4 reflects medium severity, considering the ease of exploitation and the impact on confidentiality and integrity, but no impact on availability. No public exploits have been reported yet, but the vulnerability's presence in a popular WordPress plugin makes it a significant concern. The lack of available patches at the time of publication necessitates immediate mitigation efforts by site administrators.
Potential Impact
The primary impact of this vulnerability is the potential compromise of user confidentiality and integrity on affected WordPress sites. Attackers with Contributor-level access can inject malicious scripts that execute in the browsers of site visitors and administrators, leading to session hijacking, credential theft, unauthorized actions, or defacement. This can erode user trust, damage brand reputation, and potentially lead to further compromise of the website or connected systems. Since the vulnerability requires authenticated access, the risk is somewhat mitigated but remains significant in environments where Contributor-level accounts are common or easily compromised. The stored nature of the XSS means the malicious payload persists and affects all users who visit the infected page, increasing the scope of impact. Organizations relying on Forminator Forms for critical business functions such as payment processing may face additional risks including fraud or data leakage. The absence of known exploits in the wild currently reduces immediate risk but does not preclude future attacks.
Mitigation Recommendations
1. Immediately restrict Contributor-level and higher access to trusted users only, minimizing the risk of malicious input injection. 2. Monitor and audit user activity logs to detect any suspicious form submissions or script injections. 3. Implement a Web Application Firewall (WAF) with robust XSS filtering rules to detect and block malicious payloads targeting the vulnerable parameters. 4. Apply strict Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on the website. 5. Regularly update the Forminator Forms plugin as soon as an official patch is released by the vendor. 6. In the absence of a patch, consider temporarily disabling the plugin or removing the vulnerable form features until remediation is available. 7. Sanitize and validate all user inputs on the server side, especially for parameters like 'id' and 'data-size', using custom code or security plugins. 8. Educate site administrators and contributors about the risks of XSS and safe content submission practices. 9. Conduct periodic security assessments and penetration testing focusing on web application input validation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-29T22:45:18.013Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68418666182aa0cae2dd4bc7
Added to database: 6/5/2025, 11:58:30 AM
Last enriched: 2/27/2026, 3:15:53 PM
Last updated: 3/27/2026, 10:12:14 AM
Views: 63
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.