CVE-2026-9843
The Database for Contact Form 7, WPforms, Elementor forms plugin …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/contact-form-entries.ph
- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/contact-form-entries.ph
- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/includes/data.php#L539
- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/includes/plugin-pages.p
- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/templates/view.php#L559
- plugins.trac.wordpress.org/changeset/3578556/contact-form-entries
- www.wordfence.com/threat-intel/vulnerabilities/id/4169b390-0972-4aa9-ae04-f5f67afe15ef?sou
- nvd.nist.gov/vuln/detail/CVE-2026-9843
- cve.org/CVERecord?id=CVE-2026-9843
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.