# 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

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-79
- **Aliases:** WF-b23ff2d7-abd2-403c-a9e0-1f3e1b2b1069
- **Published:** 2026-11-28T07:13:04.000Z
- **Modified:** 2026-11-28T07:13:04.000Z

> **AI summary (AI-generated, claude-haiku-5-5):** An unauthenticated attacker can inject stored cross-site scripting via the post\_id parameter in the Database for Contact Form 7, WPforms, Elementor forms WordPress plugin, executing when an admin views entries.

## Who should check

- Projects that depend on WordPress package contact-form-entries (\<= 1.5.6)

## 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 and fixed versions

- WordPress `contact-form-entries`: affected \<= 1.5.6; fixed 1.5.7 (wordfence)

## Technologies

WordPress (AI-matched), WordPress plugins and themes

## Mitigation

- Upgrade contact-form-entries to 1.5.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-126988. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-126988.md
Affected: contact-form-entries <= 1.5.6
Fixed in: 1.5.7

Steps:
1. Search this machine and project for contact-form-entries (WordPress): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-126988 being exploited?

There is no confirmed exploitation: CVE-2026-126988 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-126988?

Medium: CVSS 6.1 (v3.1, scored by Wordfence). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-126988?

contact-form-entries \<= 1.5.6.

### Is there a fix for CVE-2026-126988?

Yes. Fixed in 1.5.7. Upgrade contact-form-entries to 1.5.7 or later.

### How do I check if I'm affected by CVE-2026-126988?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/b23ff2d7-abd2-403c-a9e0-1f3e1b2b1069?source=api-prod>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- Wordfence: This record contains material that is subject to copyright Copyright 2012-2026 Defiant Inc. <https://www.wordfence.com/threat-intel/vulnerabilities/id/b23ff2d7-abd2-403c-a9e0-1f3e1b2b1069?source=api-prod> (license: <https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/>)

HTML: <https://flawdb.com/CVE-2026-126988> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-126988>
