Stored Cross-Site Scripting in WordPress Contact Form 7
Key Information:
- Vendor
WordPress
- CVE ID
- CVE ID:
- CVE-2026-126988
- Vendor
- CVE Published:
- 28 November 2026
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but a user must act
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Database For Contact Form 7, WPforms, Elementor Forms. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (6.1).
What is CVE-2026-126988?
The Contact Form 7 plugin for WordPress is susceptible to Stored Cross-Site Scripting (XSS) through the 'post_id' parameter. This vulnerability arises from inadequate input sanitization and output escaping, allowing unauthenticated attackers to inject arbitrary scripts. The injected scripts are stored via the Elementor Pro form submission endpoint and may be accessed by administrators through the 'Entries by Same User' section. This allows an attacker to relate their submissions to clean entries based on the attacker-controlled vx_user cookie. While the initial exploitation does not require administrator actions, successful payload execution necessitates administrator involvement when reviewing affected entries.
Affected Version(s)
Database for Contact Form 7, WPforms, Elementor forms 0 <= 1.5.6
References
More WordPress Vulnerabilities
Object Injection in Ultimate Member
Unauthorized Password Reset in User Registration Aide Plugin for WordPress
Remote Code Execution in WP Duplicate Plugin
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction