Database for Contact Form 7, WPforms, Elementor forms <= 1.5.1 - Unauthenticated Arbitrary File Deletion via CF7 File Field POST Value
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1- Range: <=1.5.1
Patches
Vulnerability mechanics
References
7- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/contact-form-entries.phpmitre
- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/contact-form-entries.phpmitre
- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/includes/data.phpmitre
- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/includes/plugin-pages.phpmitre
- plugins.trac.wordpress.org/browser/contact-form-entries/tags/1.5.1/templates/view.phpmitre
- plugins.trac.wordpress.org/changeset/3578556/contact-form-entriesmitre
- www.wordfence.com/threat-intel/vulnerabilities/id/4169b390-0972-4aa9-ae04-f5f67afe15efmitre
News mentions
2- Wordfence Intelligence Weekly WordPress Vulnerability Report (June 15, 2026 to June 21, 2026)Wordfence Blog · Jun 25, 2026
- 25 WordPress Plugin CVEs Drop in Three Days: File Deletion, SSRF, and XSS Dominate the BatchVypr Intelligence · Jun 22, 2026