Keyrook

NewsPatch Notes

Patch notes

Database for Contact Form 7 flaw lets visitors plant scripts for admins — update to 1.5.7

A stored cross-site scripting flaw in Database for Contact Form 7, disclosed 28 November, lets unauthenticated visitors plant scripts that run when an administrator views entries — update to 1.5.7.

How the stored cross-site scripting flaw works: a visitor hides a script in a form field, it is stored with the entry, and it runs when an administrator views entries
How the flaw works, step by step

Affects

  • WordPress

Tracked as

  • CVE-2026-126988Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress · CVSS 6.1

The Database for Contact Form 7 plugin has a second serious flaw in two days — and the fix for the first one does not cover it. A stored cross-site scripting flaw, disclosed on 28 November, lets any visitor plant a script through a form submission. The script sits quietly in the database until an administrator opens the entries list, and then it runs in the administrator’s browser. Version 1.5.7 closes the flaw.

How it works

The plugin saves submissions from Contact Form 7, WPForms and Elementor forms into the WordPress database, so site owners can browse them in the admin area. The flaw is in the post_id parameter of the Elementor Pro form submission endpoint: the plugin does not sanitise it properly, so a visitor can hide a script inside it. The entry is stored, and the script is surfaced to administrators through the “Entries by Same User” box, which groups entries by an attacker-controlled cookie value with no form restriction — so a payload-carrying entry can be reached from an ordinary clean entry.

Exploitation needs one more step: an administrator has to open the injected entry. That is the only trigger, and on a busy site it is a matter of time — reviewing form submissions is exactly what the plugin is for. Once the script runs in an administrator’s browser, it acts with that administrator’s session: it can read data, change settings, or create new admin accounts.

Who is affected

All versions up to and including 1.5.6 are affected by the flaw, tracked as CVE-2026-126988. The plugin runs on more than 60,000 WordPress sites, according to WordPress.org. The flaw is scored 6.1 — medium, because it needs an administrator to view the entry — but the bar for the attacker is low: no account, no login, just a form submission on any site running the plugin with Elementor Pro forms.

What to do now

What to do now

  1. Update the plugin to 1.5.7

    In the WordPress admin area, open Dashboard, then Updates, and update Database for Contact Form 7 to version 1.5.7. Version 1.5.7 was released on 28 November.

  2. Check recent entries for scripts

    Before updating, look through recent form entries for anything odd in the post ID or form data — unexpected code, links, or markup that no genuine visitor would submit. Delete anything suspicious.

  3. Review administrator accounts

    After updating, check the site’s user list for administrator accounts that nobody on the team created. A stored script that ran in an admin’s browser could have made one.

  4. If the site was on 1.5.5, check for uploaded files too

    Sites that skipped 1.5.6 were open to the file-upload flaw as well. Look for PHP files under the uploads folder that should not be there.

Wordfence, which reported the flaw, has not reported it as exploited. But the fix is out, the flaw is public, and the attack needs nothing more than a form on the site — so update before an administrator opens the wrong entry.

Sources

  1. Database for Contact Form 7, WPforms, Elementor forms <= 1.5.6 - Unauthenticated Stored Cross-Site Scripting via 'post_id' Parameter via Elementor Pro Form SubmissionWordfence Threat Intelligence
  2. CVE-2026-126988CVE Program
  3. Database for Contact Form 7, WPforms, Elementor formsWordPress.org

More news

All the news
  1. Patch Notes3 min

    Tenda AC10U router carries three flaws scored 10.0 — no fix, so replace it

    Three flaws in the Tenda AC10U router, disclosed 27 November, all score the maximum 10.0 and let attackers run commands or open Telnet without logging in — and Tenda has released no fix, so owners should replace the router.

    • Tenda
  2. Patch Notes3 min

    Upsell Funnel Builder flaw lets anyone inject scripts into WooCommerce checkout pages — update to 3.1.8

    Wordfence disclosed on 27 November an unauthenticated stored cross-site scripting flaw (CVE-2026-136995, scored 7.2) in Upsell Funnel Builder for WooCommerce. Update to 3.1.8.

    • WooCommerce
  3. Patch Notes2 min

    FunnelKit Automations flaw lets attackers run code on WooCommerce sites — update now

    Patchstack disclosed a 9.8-rated flaw in FunnelKit Automations on 24 November 2026. Versions up to 3.9.0.1 let attackers run code on a WooCommerce site without logging in; update to 3.9.0.2.

    • FunnelKit Automations