Description
The Database Addon for Contact Form 7 – CFDB7 plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.4.1. This is due to the plugin storing arbitrary (non-form-tag) submission fields in its db7_forms row and the process_bulk_action() delete handler then matching any stored key whose name contains the substring 'cfdb7_file' and passing the stored value directly to unlink() without validating that the file actually belongs to the submission being deleted or constraining the filename with basename()/realpath(). This makes it possible for unauthenticated attackers to inject a crafted multipart field.
References5
- plugins.trac.wordpress.org/browser/contact-form-cfdb7/tags/1.4.…
- plugins.trac.wordpress.org/browser/contact-form-cfdb7/tags/1.4.…
- plugins.trac.wordpress.org/browser/contact-form-cfdb7/tags/1.4.…
- plugins.trac.wordpress.org/changeset?reponame=&old=3737068%40co…
- www.wordfence.com/threat-intel/vulnerabilities/id/7de3606a-254c…
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - EPSS — exploit probability
- 0% percentile: 24 · as of 11 November 2026
- CWE
- CWE-639
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.