Skip to content
Laskyr

Plugins · contact-form-cfdb7 · data as of 2026-11-01

Is Database Addon for Contact Form 7 safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (1.4.2)

As of 2026-11-01. 5 issues are on record for older versions; version 1.4.2 or newer fixes all of them that state a fix.

Latest version
1.4.2
Last updated
2026-10-09
Active installs
600,000+
Known issues on record
5
Unpatched in latest
0
Tested up to WP
7.1.4 · PHP 7.0+

Save and manage Contact Form 7 messages. Never lose important data. It is a lightweight contact form 7 database plugin. — by Arshid

What to do

  1. Update to the latest version (1.4.2). Anything older than 1.4.2 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.

With WP-CLI: wp plugin get contact-form-cfdb7 --field=version shows what you run; wp plugin update contact-form-cfdb7 updates it.

Check your version

Known vulnerabilities

5 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.

medium 5.3 CVE-2026-107652 · published 2026-10-14

Arbitrary file deletion in Database Addon for Contact Form 7 (1.4.1 and older)

Affected
1.4.1 and older
Fixed in
1.4.2 *
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

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.

NVD CVE-2026-107652Wordfence advisoryCode change (fix)Plugin source

medium 6.1 CVE-2025-6740 · published 2025-07-04

Stored cross-site scripting (XSS) in Database Addon for Contact Form 7 (1.3.1 and older)

Affected
1.3.1 and older
Fixed in
1.3.2 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Contact Form 7 Database Addon plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘tmpD’ parameter in all versions up to, and including, 1.3.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

NVD CVE-2025-6740Wordfence advisoryCode change (fix)wordpress.orgPlugin source

medium 5.3 CVE-2024-3870 · published 2024-05-02

Information disclosure in Database Addon for Contact Form 7 (1.2.6.8 and older)

Affected
1.2.6.8 and older
Fixed in
1.2.7 *
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Contact Form 7 Database Addon – CFDB7 plugin for WordPress is vulnerable to Sensitive Information Exposure in versions up to, and including, 1.2.6.8 via the cfdb7_before_send_mail function. This can allow unauthenticated attackers to extract sensitive data, such as Personally Identifiable Information, from files uploaded by users.

NVD CVE-2024-3870Wordfence advisoryCode change (fix)Plugin source

medium 6.1 CVE-2021-36885 · published 2021-12-22

Stored cross-site scripting (XSS) in Database Addon for Contact Form 7 (1.2.6.1 and older)

Affected
1.2.6.1 and older
Fixed in
1.2.6.2 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by NVD
Details from the advisory

Unauthenticated Stored Cross-Site Scripting (XSS) vulnerability discovered in Contact Form 7 Database Addon – CFDB7 WordPress plugin (versions <= 1.2.6.1).

NVD CVE-2021-36885Patchstack advisorywordpress.org

high 8.8 CVE-2021-36886 · published 2021-12-22

Cross-site request forgery (CSRF) in Database Addon for Contact Form 7 (1.2.5.9 and older)

Affected
1.2.5.9 and older
Fixed in
1.2.6.2 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by NVD
Details from the advisory

Cross-Site Request Forgery (CSRF) vulnerability discovered in Contact Form 7 Database Addon – CFDB7 WordPress plugin (versions <= 1.2.5.9).

NVD CVE-2021-36886Patchstack advisorywordpress.org

Recent activity

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Database Addon for Contact Form 7 vulnerability status badge
<a href="https://laskyr.com/plugins/contact-form-cfdb7"><img src="https://laskyr.com/plugins/contact-form-cfdb7/badge.svg" alt="Database Addon for Contact Form 7 vulnerability status"></a>

← Check another plugin · Free hacked-site scan

Site hacked? Get help now
Run free scan Fix it now ($499) Send a message

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit