Database for Contact Form 7, WPforms, Elementor forms <= 1.5.1 - Unauthenticated Arbitrary File Deletion via CF7 File Field POST Value
Summary
| CVE | CVE-2026-9843 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-20 02:16:26 UTC |
| Updated | 2026-06-20 02:16:26 UTC |
| Description | The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the view_page function in all versions up to, and including, 1.5.1. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). Successful exploitation requires an administrator to view or edit the poisoned form entry, at which point PHP's bracket parser reshapes the attacker-crafted JSON key to bypass the stored-path isset check and trigger deletion of the traversal-specified file. |
Risk And Classification
Primary CVSS: v3.1 8.1 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Problem Types: CWE-22 | CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 8.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Crmperks | Database For Contact Form 7 WPforms Elementor Forms | affected 1.5.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/includes/data.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset/3578556/contact-form-entries | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/includes/plugin-pages... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/templates/view.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/contact-form-entries.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/contact-form-entries.php | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/4169b390-0972-4aa9-ae04-f5f67... | [email protected] | www.wordfence.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: daroo (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-28T13:43:21.000Z | Vendor Notified |
| CNA | 2026-06-19T11:55:33.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.