CVE-2026-126988
Description
The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'post_id' 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. The malicious payload is stored via the unauthenticated Elementor Pro form submission endpoint and is surfaced to administrators through the 'Entries by Same User' box, which correlates entries by the attacker-controlled vx_user cookie value with no form restriction, allowing a payload-carrying entry to be reached from an ordinary clean entry. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Affected WordPress components
-
Database for Contact Form 7, WPforms, Elementor forms Plugin · contact-form-entriesUp to and including 1.5.6View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- crmperks Database for Contact Form 7, WPforms, Elementor forms — Up to and including 1.5.6
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/contact-form-entries.php#L3113
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/contact-form-entries.php#L630
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/includes/data.php#L564
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/includes/plugin-pages.php#L293
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/templates/crm-entry-box.php#L42
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3830953/contact-form-entries
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/b23ff2d7-abd2-403c-a9e0-1f3e1b2b1069?source=cve
- nvd.nist.gov Official NVD record