CVE-2025-6756
BaseFortify
Publication date: 2025-07-01
Last updated on: 2025-07-16
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| themefic | ultimate_addons_for_contact_form_7 | to 3.5.22 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability in the Ultra Addons for Contact Form 7 WordPress plugin (up to version 3.5.21) is a Stored Cross-Site Scripting (XSS) issue. It occurs because the plugin's UACF7_CUSTOM_FIELDS shortcode does not properly sanitize and escape user-supplied input. This allows authenticated users with contributor-level access or higher to inject malicious scripts into pages. These scripts then execute whenever any user views the affected page, potentially compromising user data or site integrity. [1, 2]
How can this vulnerability impact me? :
This vulnerability can allow attackers with contributor-level access or higher to inject arbitrary malicious scripts into the website. When other users visit the infected pages, these scripts execute in their browsers, potentially leading to theft of sensitive information, session hijacking, defacement, or further exploitation of the site. It undermines the security and trustworthiness of the affected WordPress site. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection of this vulnerability involves identifying if the affected plugin version (up to 3.5.21) is installed and if the UACF7_CUSTOM_FIELDS shortcode is used in a way that allows injection of malicious scripts. Since the vulnerability is a Stored Cross-Site Scripting (XSS) triggered by authenticated users with contributor-level access or higher, detection can include: 1) Checking the plugin version installed on your WordPress site. 2) Reviewing posts or pages that use the UACF7_CUSTOM_FIELDS shortcode for suspicious injected scripts. 3) Monitoring HTTP requests and responses for unusual script content in pages generated by the plugin. There are no specific command-line tools or commands provided in the resources, but you can use WordPress CLI commands to check plugin versions, for example: `wp plugin list --status=active` to verify the plugin version. Additionally, scanning the database for suspicious content in post meta fields related to custom fields may help detect injected scripts. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
The immediate mitigation step is to update the Ultimate Addons for Contact Form 7 plugin to version 3.5.22 or later, where the vulnerability has been fixed by improving content sanitization and output escaping. This update addresses the security issue reported by Wordfence and prevents the stored XSS attack. Additionally, ensure that only trusted users have contributor-level or higher access to your WordPress site to reduce the risk of exploitation until the update is applied. [1]