Database for Contact Form 7, WPforms, Elementor forms Plugin Vulnerability (CVE-2026-126988)

On this page

Security Alert Summary

A stored cross-site scripting (XSS) vulnerability exists in the Database for Contact Form 7, WPforms, Elementor forms plugin (all versions up to and including 1.5.6). Insufficient input sanitization and output escaping of the post_id parameter allows an unauthenticated attacker to store a malicious script via an unauthenticated Elementor Pro form submission endpoint. The payload can be surfaced to administrators through the “Entries by Same User” box, which correlates entries using an attacker-controlled vx_user cookie value. Successful exploitation requires an administrator to view the injected entry.


CVE Details

  • CVE ID: CVE-2026-126988
  • Affected plugin / component: Database for Contact Form 7, WPforms, Elementor forms (vendor: crmperks)
  • Affected versions: All versions up to and including 1.5.6
  • Published: November 28, 2026 at 8:17:49 PM UTC
  • Last modified: November 28, 2026 at 8:17:50 PM UTC
  • CVSS v3.1 base score: 6.1
  • CVSS v3.1 severity: MEDIUM
  • CVSS v3.1 vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Authentication / privileges / user interaction: No privileges required (PR:N); unauthenticated attacker can submit payloads. User interaction is required (UI:R) because an administrator must view the injected entry. Attack vector: Network. Scope: Changed.
  • Primary impact: Confidentiality: LOW; Integrity: LOW; Availability: NONE
  • CWE / weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)

Technical Details

The vulnerability is a stored cross-site scripting issue that stems from insufficient input sanitization and output escaping of the post_id parameter. An unauthenticated attacker can submit a payload via the unauthenticated Elementor Pro form submission endpoint. The plugin stores the payload and later surfaces it to administrators in the “Entries by Same User” box, which correlates entries using the attacker-controlled vx_user cookie value without enforcing a form restriction. This correlation lets an entry containing a malicious script be reached from an ordinary clean entry.

Because the payload is stored, the malicious script executes when an administrator views the injected page or entry. The CVE description notes that successful exploitation additionally requires an action by an administrator; the attacker cannot trigger the vulnerability entirely on their own.


How This Could Impact Your Website

Consider a site with multiple roles: the site owner, internal staff who manage content, and an external contractor who submits forms. An unauthenticated attacker could submit a payload through the Elementor Pro form endpoint. If an administrator later examines entries via the “Entries by Same User” box, the stored payload could run in the administrator’s browser. Practical consequences include limited disclosure of information visible to the administrator and the ability to execute scripts in the admin context consistent with the CVSS impact.

Realistic risks include exposure of internal user email addresses shown in entries and an increased risk of targeted phishing or social engineering against administrators and staff who have access to the entries interface. If you are unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review.


Recommended Actions

  • Update the affected plugin as soon as a patched version is available.
  • Review and reduce unnecessary user roles, especially contributor-level accounts and any accounts that can submit or view entries.
  • Enforce strong passwords and enable two-factor authentication for editors and administrators.
  • Remove unused or unmaintained plugins to reduce your attack surface.
  • Monitor site activity and admin page access for unusual behavior, including unexpected form submissions and admin entry views.

If youd like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.


References