Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify WordPress site running vulnerable plugin
-
DeliveryCraft CSRF page with UNION SQLi payload using CHAR()
-
ExploitLure logged-in admin to visit page
-
InstallBrowser auto-submits POST without _wpnonce
-
C2Injected query returns malicious serialized array as post_content
-
ExecutePlugin deserializes and passes ys_cfdbh_file values to wp_delete_file()
-
ImpactDelete wp-config.php and hijack site via setup wizard
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a logged-in WordPress administrator (or other user with capability to reach the plugin's bulk-action handler) to visit an attacker-controlled web page in the same browser session - UI:R in the CVSS vector reflects this and is the dominant limiting factor. The target WordPress site must have WP Contact Form 7 DB Handler version 3.0 or earlier installed and active, and the site's SameSite cookie configuration must allow the cross-origin POST (default WordPress auth cookies do not set SameSite=Strict, so most deployments are exposed). No attacker authentication to the target is required, no special server configuration beyond a default LAMP/LEMP WordPress install is needed, and the uploads directory must be writable/deletable by the webserver user (the default). |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H, score 8.1) accurately reflects the chain: network-reachable, low complexity, no privileges needed by the attacker, but user interaction is required (an admin must visit the attacker's page while authenticated). This UI:R requirement is the single largest mitigating factor - without an admin-targeted phishing or watering-hole vector, exploitation does not occur. EPSS and KEV status were not provided in the input, so probabilistic and active-exploitation signals cannot be cited; absence of a KEV entry does not equal absence of exploitation, only absence of CISA confirmation. SSVC framing: exploitation status is 'none' on the data provided (no public exploit identified), automatable is 'no' because the chain depends on admin interaction, and technical impact is 'total' for the affected site since deletion of wp-config.php enables takeover via the WordPress setup flow. Net: a real priority for any site running this plugin, but not a mass-scan emergency in the same league as a PR:N/UI:N RCE. |
| Exploit ScenarioDerived | An attacker emails or DMs a WordPress site administrator a link to an attacker-controlled page; while the admin is logged in to wp-admin in another tab, the page auto-submits a hidden cross-origin POST to admin.php?page=... that omits _wpnonce and supplies a UNION-injected ID parameter using CHAR() to embed a serialized PHP array containing a 'ys_cfdbh_file' key whose value resolves via ../ traversal to wp-config.php. The plugin deletes the file, the next request to the site triggers the WordPress setup wizard, and the attacker walks in and reconfigures the site against an attacker-controlled database, achieving full takeover. No public exploit identified at time of analysis, but the Wordfence write-up and the linked source lines provide enough detail to reproduce the chain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
Arbitrary file deletion in the WP Contact Form 7 DB Handler WordPress plugin (versions up to and including 3.0) can be achieved by chaining CSRF, UNION-based SQL injection, and PHP object deserialization. A remote unauthenticated attacker who lures a logged-in administrator to a malicious page can delete arbitrary server files, including wp-config.php, which typically forces the site into a re-installation state and enables full site takeover. No public exploit identified at time of analysis, though Wordfence's detailed write-up effectively documents the exploit chain.
RemediationAI
Upstream fix available (changeset 3520240 on the WordPress plugin repository); released patched version not independently confirmed from the supplied data, so administrators should upgrade to the latest version published after the referenced changeset and verify the installed version against the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/96cdba03-7385-4374-915d-061be0276a95. Until upgrading, the most reliable compensating control is to deactivate and remove the WP Contact Form 7 DB Handler plugin, accepting the trade-off that historical form submissions stored by the plugin will become inaccessible from the admin UI. If the plugin must remain active, restrict /wp-admin access to known IPs via a web application firewall or webserver ACL to prevent admin browsers from reaching attacker-controlled CSRF pages while logged in, and instruct administrators to log out of WordPress when not actively using it; also harden the filesystem so the webserver user cannot delete wp-config.php (chattr +i or equivalent immutable-bit protection on Linux), accepting that this will break legitimate plugin/core updates until the bit is cleared.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the Yudiz-developed WP Contact Form 7 DB Handler plugin (CPE cpe:2.3:a:yudiz:wp_contact_form_7_db_handler), which stores Contact Form 7 submissions in the WordPress database. The root cause maps to CWE-352 (Cross-Site Request Forgery), but the impact is amplified by two secondary weaknesses visible in the referenced source lines (form-inner-page-class.php L589, L605, L607, L615): the process_bulk_action() function only calls wp_verify_nonce() inside a conditional that checks for the presence of _wpnonce in POST, so omitting the field skips the check entirely; the bulk action then concatenates a user-supplied ID into a WHERE ID = $ID clause without parameterization or numeric casting, and finally calls unserialize() on the returned post_content. PHP's unserialize() on attacker-controlled bytes triggers object/array instantiation, and array keys matching 'ys_cfdbh_file' are appended to the WordPress uploads path and passed to wp_delete_file() with no realpath or traversal validation.
Know when Wp Contact Form 7 Db Handler gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The WP Contact Form 7 DB Handler plugin for WordPress is vulnerable to Cross-Site Request Forgery leading to Arbitrary File Deletion via SQL Injection and PHP Object Injection in versions up to and including 3.0. This is due to a missing nonce verification in the process_bulk_action() function, the nonce check is only executed when _wpnonce is present in the POST body, allowing it to be trivially bypassed by omitting the field, combined with the use of an unsanitized, unparameterized user-supplied value in a numeric SQL context (WHERE ID = $ID) and the unsafe deserialization of the query result's post_content field. An attacker can craft a CSRF page that tricks a logged-in administrator into triggering a UNION-based SQL injection payload (using CHAR() to avoid esc_sql quote-escaping) that returns a malicious serialized PHP array as post_content; upon deserialization, array values associated with keys containing 'ys_cfdbh_file' are used as file paths appended to the uploads directory path without any path traversal validation, and then passed to wp_delete_file(), allowing the attacker to delete arbitrary files on the server (e.g., wp-config.php, system files).
Executive ViewAI
WP Contact Form 7 DB Handler plugin (versions ≤3.0) allows unauthenticated attackers to achieve complete WordPress site compromise by manipulating administrators into visiting a malicious page. Exploitation deletes critical configuration files, rendering sites inoperative and forcing a full reinstallation that grants attackers control. Organizations using this plugin face immediate risk of site unavailability, data destruction, and total loss of administrative access.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately deactivate WP Contact Form 7 DB Handler, (2) Deploy Web Application Firewall rules to block SQL injection and CSRF attacks, (3) Restrict WordPress admin panel access via IP allowlisting, (4) Enable file integrity monitoring for wp-config.php and wp-content/ directory, (5) Implement Content Security Policy headers, (6) Maintain current WordPress core and all other active plugin patches.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-32736
GHSA-xf5m-7grh-3gvm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB