Arbitrary File Deletion Vulnerability in Contact Form Plugins for WordPress
CVE-2026-9843
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 20 June 2026
What is CVE-2026-9843?
CVE-2026-9843 is a significant vulnerability identified in popular WordPress contact form plugins, including Contact Form 7, WPforms, and Elementor. This vulnerability arises from inadequate validation of file paths in the view_page function, which affects all versions of these plugins up to and including 1.5.1. The flaw allows unauthenticated attackers to exploit the system by deleting arbitrary files stored on the server. The potential consequences are severe; if crucial files such as wp-config.php are targeted and deleted, it could lead to remote code execution, enabling attackers to gain unauthorized access and control over the entire WordPress environment. Organizations utilizing these plugins face a heightened risk of significant operational disruptions, data loss, and potential breaches as a result of this vulnerability.
Potential impact of CVE-2026-9843
-
Remote Code Execution: Successful exploitation of the vulnerability has the potential to facilitate remote code execution, allowing attackers to run arbitrary code on the server and take full control of the affected WordPress site.
-
Data Loss and Corruption: The ability to delete arbitrary files can lead to critical data loss or corruption, particularly if vital configuration files are targeted. This can hinder the functionality of the WordPress site and disrupt business operations.
-
Increased Attack Surface: Unauthenticated attackers exploiting this vulnerability can compromise site integrity, leading to potential follow-on attacks such as malware deployment, phishing schemes, or further exploitation of connected systems and data, thereby exacerbating the security risk for the organization.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Database for Contact Form 7, WPforms, Elementor forms 0 <= 1.5.1