CVE-2026-126988: Database for Contact Form 7, WPforms, Elementor forms <= 1.5.6 - Unauthenticated Stored Cross-Site Scripting via 'post_id' Parameter via Elementor Pro Form Submission
The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'postid' 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 vxuser 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 Software
Event History
Frequently Asked Questions
Does an attacker need a WordPress account or access to a specific form to submit a payload?
No account is required. The payload can be stored through the unauthenticated Elementor Pro form submission endpoint, and the issue has no form restriction.
Who is exposed to script execution?
Administrators are the users identified as executing the stored payload. The script is surfaced through the “Entries by Same User” box when an administrator accesses an injected entry path.
Can the attacker cause the script to execute without administrator interaction?
No. Successful exploitation requires an administrator to take an action that accesses the relevant injected page or entry; the attacker cannot trigger execution independently.
How can a malicious entry be associated with an otherwise clean submission?
The “Entries by Same User” feature correlates submissions using the attacker-controlled vx_user cookie value. This allows a payload-bearing entry to be reached from an ordinary clean entry.