CVE-2026-137141: Database for Contact Form 7, WPforms, Elementor forms <= 1.5.6 - Unauthenticated Stored Cross-Site Scripting via Form Field Values

Published Dec 2, 2026
·
Updated

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

1 affected component
wordpress/database-for-contact-form-7-wpforms-elementor-forms<=1.5.6

Event History

Dec 2, 2026
CVE Published
via MITRE·09:28 AM
Data Sourced
via MITRE·09:28 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203