CVE-2026-121978: Ultra Addons for Contact Form 7 (WordPress plugin) Cross-site Scripting
Published 2026-11-26 · Updated 2026-11-27 · Source security@wordfence.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- Check the references below for the vendor's patched release of Ultra Addons for Contact Form 7 (WordPress plugin) and apply it.
- Until it is patched, do not leave Ultra Addons for Contact Form 7 (WordPress plugin) reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Apply a restrictive Content-Security-Policy and mark session cookies HttpOnly to limit what an injected script can do.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact is limited: confidentiality and integrity are rated low. A successful attack can affect components beyond the vulnerable one.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: Cross-site Scripting
An attacker can make script run in another user's browser in the context of the affected site, allowing session theft or actions taken as that user.
Classified as CWE-79.
Description
The Ultra Addons for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'dfile (any CF7 file field)' parameter in all versions up to, and including, 3.5.58 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. Successful script execution additionally requires a web server that returns no explicit Content-Type header for the targeted audio/video extension, causing the browser to sniff and render the uploaded file as text/html; default Apache configurations without mod_headers or without honoring .htaccess satisfy this condition. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.wordfence.com/threat-intel/vulnerabilities/id/7053aa7c-d14d-4e5c-a13b-09cb104b087b?source=cve
- Referencehttps://downloads.wordpress.org/plugin/ultimate-addons-for-contact-form-7.3.5.59.zip
- Referencehttps://plugins.trac.wordpress.org/browser/ultimate-addons-for-contact-form-7/tags/3.5.57/addons/database/database.php#L952
- Referencehttps://plugins.trac.wordpress.org/browser/ultimate-addons-for-contact-form-7/tags/3.5.57/addons/database/database.php#L972
- Referencehttps://plugins.trac.wordpress.org/browser/ultimate-addons-for-contact-form-7/tags/3.5.57/inc/functions.php#L1760