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
- State
- Published
- Severity
- 6.1 Medium
- Published
- Nov 28, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 12, 2026
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.
| Product | Versions |
|---|---|
| Database for Contact Form 7, WPforms, Elementor forms crmperks | 1.5.6 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.1 Medium | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b23ff2d7-abd2-403c-a9e0-1f3e1b2b1069?source=cve
- https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/templates/crm-entry-box.php#L42
- https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/includes/plugin-pages.php#L293
- https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/contact-form-entries.php#L630
- https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/contact-form-entries.php#L3113
- https://plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.5/includes/data.php#L564
- https://plugins.trac.wordpress.org/changeset/3830953/contact-form-entries
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.