CVE-2026-121978: Ultra Addons for Contact Form 7 <= 3.5.58 - Unauthenticated Stored Cross-Site Scripting via File Upload via Contact Form 7 Database Add-on
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 modheaders 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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are realistically exposed to exploitation?
Deployments running Ultra Addons for Contact Form 7 version 3.5.58 or earlier are affected, but successful exploitation also depends on the web server returning no explicit Content-Type header for the targeted audio or video extension. Default Apache configurations without mod_headers, or where .htaccess is not honored, meet this condition.
What does an attacker need to do, and is authentication required?
An unauthenticated attacker can submit a crafted upload through any Contact Form 7 file field using the dfile parameter. However, an administrator must subsequently take an action for the stored script to execute; the attacker cannot trigger execution independently.
What is the impact if exploitation succeeds?
Arbitrary web scripts can be stored and then execute in the browser of a user who accesses the injected page. The reported impact includes low confidentiality and integrity effects, with no availability impact.