CVE-2026-137141: Database for Contact Form 7, WPforms, Elementor forms <= 1.5.6 - Unauthenticated Stored Cross-Site Scripting via Form Field Values
The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'your-name (any CF7 text field)' parameter in all versions up to, and including, 1.5.6 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 execution requires ThickBox to be enqueued on admin pages, as occurs when Elementor or Image Optimization by Elementor is active, since the reconstructed viewport-covering anchor element relies on ThickBox's delegated click handler to inject the payload from the decoded title attribute as raw HTML into the administrator's DOM.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to exploitation?
WordPress sites using Database for Contact Form 7, WPforms, Elementor forms version 1.5.6 or earlier are affected. Exploitation specifically depends on ThickBox being enqueued on administration pages, which occurs when Elementor or Image Optimization by Elementor is active.
Does an attacker need an account or administrator interaction to exploit this?
No attacker account is required; the vulnerable form field can be used by unauthenticated attackers. The injected script executes when a user accesses the affected injected page in the administration context under the stated ThickBox condition.
What input is used to deliver the stored payload?
The issue is reachable through the 'your-name' parameter, and potentially any Contact Form 7 text field. Insufficient sanitization on input and output escaping allows a submitted value to be stored and later used to inject script.
What configuration condition should be checked during triage?
Verify whether ThickBox is loaded on WordPress admin pages. In particular, check whether Elementor or Image Optimization by Elementor is active, because the described payload relies on ThickBox's delegated click handler to place decoded title-attribute content into the administrator's DOM as raw HTML.