CVE-2025-6756: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in themefic Ultra Addons for Contact Form 7
The Ultra Addons for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's UACF7_CUSTOM_FIELDS shortcode in all versions up to, and including, 3.5.21 due to insufficient input sanitization and output escaping on user supplied attributes. 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-6756 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Ultra Addons for Contact Form 7 plugin for WordPress. This vulnerability exists due to insufficient sanitization and escaping of user-supplied input in the UACF7_CUSTOM_FIELDS shortcode, which is used to add custom fields to forms. Authenticated attackers with contributor-level access or higher can exploit this flaw by injecting arbitrary JavaScript code into pages that utilize this shortcode. Because the malicious script is stored persistently, it executes in the context of any user who visits the affected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of users without their consent. The vulnerability affects all versions up to and including 3.5.21. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches or official fixes have been linked yet, and no known exploits are reported in the wild. The vulnerability highlights the risks of improper input validation in WordPress plugins, especially those that handle user-generated content and shortcode processing.
Potential Impact
This vulnerability can lead to significant security risks for organizations running WordPress sites with the affected Ultra Addons for Contact Form 7 plugin. An attacker with contributor-level access can inject malicious scripts that execute in the browsers of site visitors and administrators, potentially leading to session hijacking, credential theft, defacement, or unauthorized actions performed with elevated privileges. The compromise of administrative accounts could lead to full site takeover, data leakage, or further malware deployment. Since the vulnerability requires authenticated access, the risk is somewhat mitigated by access controls, but many WordPress sites allow contributor or author roles for content creation, increasing exposure. The scope of impact includes any organization using this plugin, especially those with multiple contributors or public-facing content management. The medium severity rating reflects the balance between required privileges and the potential damage. The absence of known exploits suggests limited active exploitation currently, but the vulnerability remains a credible threat if weaponized.
Mitigation Recommendations
Organizations should immediately audit their WordPress installations for the presence of the Ultra Addons for Contact Form 7 plugin and verify the version in use. Until an official patch is released, administrators should consider the following mitigations: 1) Restrict contributor-level and higher access to trusted users only, minimizing the risk of malicious script injection. 2) Disable or remove the UACF7_CUSTOM_FIELDS shortcode usage in content to prevent exploitation. 3) Implement Web Application Firewall (WAF) rules to detect and block suspicious script injection patterns related to this shortcode. 4) Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5) Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 6) Once a patch is available, promptly apply updates to the plugin. 7) Educate content contributors about safe input practices and the risks of injecting untrusted code. These steps go beyond generic advice by focusing on access control, shortcode usage, and layered defenses.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, India, France, Brazil, Japan, Netherlands, Italy, Spain
CVE-2025-6756: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in themefic Ultra Addons for Contact Form 7
Description
The Ultra Addons for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's UACF7_CUSTOM_FIELDS shortcode in all versions up to, and including, 3.5.21 due to insufficient input sanitization and output escaping on user supplied attributes. 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-6756 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Ultra Addons for Contact Form 7 plugin for WordPress. This vulnerability exists due to insufficient sanitization and escaping of user-supplied input in the UACF7_CUSTOM_FIELDS shortcode, which is used to add custom fields to forms. Authenticated attackers with contributor-level access or higher can exploit this flaw by injecting arbitrary JavaScript code into pages that utilize this shortcode. Because the malicious script is stored persistently, it executes in the context of any user who visits the affected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of users without their consent. The vulnerability affects all versions up to and including 3.5.21. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches or official fixes have been linked yet, and no known exploits are reported in the wild. The vulnerability highlights the risks of improper input validation in WordPress plugins, especially those that handle user-generated content and shortcode processing.
Potential Impact
This vulnerability can lead to significant security risks for organizations running WordPress sites with the affected Ultra Addons for Contact Form 7 plugin. An attacker with contributor-level access can inject malicious scripts that execute in the browsers of site visitors and administrators, potentially leading to session hijacking, credential theft, defacement, or unauthorized actions performed with elevated privileges. The compromise of administrative accounts could lead to full site takeover, data leakage, or further malware deployment. Since the vulnerability requires authenticated access, the risk is somewhat mitigated by access controls, but many WordPress sites allow contributor or author roles for content creation, increasing exposure. The scope of impact includes any organization using this plugin, especially those with multiple contributors or public-facing content management. The medium severity rating reflects the balance between required privileges and the potential damage. The absence of known exploits suggests limited active exploitation currently, but the vulnerability remains a credible threat if weaponized.
Mitigation Recommendations
Organizations should immediately audit their WordPress installations for the presence of the Ultra Addons for Contact Form 7 plugin and verify the version in use. Until an official patch is released, administrators should consider the following mitigations: 1) Restrict contributor-level and higher access to trusted users only, minimizing the risk of malicious script injection. 2) Disable or remove the UACF7_CUSTOM_FIELDS shortcode usage in content to prevent exploitation. 3) Implement Web Application Firewall (WAF) rules to detect and block suspicious script injection patterns related to this shortcode. 4) Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5) Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 6) Once a patch is available, promptly apply updates to the plugin. 7) Educate content contributors about safe input practices and the risks of injecting untrusted code. These steps go beyond generic advice by focusing on access control, shortcode usage, and layered defenses.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-06-26T22:58:00.893Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6863accd6f40f0eb728ecda2
Added to database: 7/1/2025, 9:39:25 AM
Last enriched: 2/26/2026, 3:50:15 PM
Last updated: 3/26/2026, 2:02:39 AM
Views: 134
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.