Contact Form 7 – Blacklist Unwanted Email Security & Risk Analysis

wordpress.org/plugins/block-email-cf7

This is a free add-on plugin for contact form 7, which validates the email field and restrict unwanted email submission as well as allowed only busine …

400 active installs v1.1.0 PHP + WP 4.2+ Updated Oct 15, 2019
blacklist-email-domain-for-contact-form-7block-email-domain-for-contact-form-7cf7restrict-email-domain-submission-for-contact-form-7validate-email-domain-for-contact-form-7
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Contact Form 7 – Blacklist Unwanted Email Safe to Use in 2026?

Generally Safe

Score 85/100

Contact Form 7 – Blacklist Unwanted Email has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 6yr ago
Risk Assessment

The "block-email-cf7" plugin version 1.1.0 exhibits a strong security posture based on the provided static analysis and vulnerability history. The absence of any identified vulnerabilities in its history is a significant positive indicator. The static analysis reveals a remarkably small attack surface, with no AJAX handlers, REST API routes, shortcodes, or cron events, and importantly, none of these entry points are unprotected. Furthermore, the code signals show no dangerous functions, file operations, or external HTTP requests, and critically, no nonce or capability checks are required, suggesting that the plugin might not handle sensitive operations or user input in a way that necessitates these checks.

However, the presence of a single SQL query that does not use prepared statements is a concern, even if it's only one instance. While no critical or high severity taint flows were detected, this specific SQL query represents a potential for SQL injection if the input feeding it is not rigorously sanitized upstream. The output escaping is also not perfect, with 33% of outputs not properly escaped, which could lead to cross-site scripting (XSS) vulnerabilities. Despite these minor concerns, the overall picture is one of a well-developed plugin with a low risk profile, especially given its clean vulnerability history.

Key Concerns

  • Raw SQL query without prepared statement
  • Unescaped output detected
Vulnerabilities
None known

Contact Form 7 – Blacklist Unwanted Email Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Contact Form 7 – Blacklist Unwanted Email Code Analysis

Dangerous Functions
0
Raw SQL Queries
1
0 prepared
Unescaped Output
4
8 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

0% prepared1 total queries

Output Escaping

67% escaped12 total outputs
Attack Surface

Contact Form 7 – Blacklist Unwanted Email Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
actionplugins_loadedinc\activation.php:3
filterwpcf7_validate_textinc\activation.php:8
filterwpcf7_validate_text*inc\activation.php:9
filterwpcf7_validate_emailinc\activation.php:10
filterwpcf7_validate_email*inc\activation.php:11
filterwpcf7_validate_urlinc\activation.php:12
filterwpcf7_validate_url*inc\activation.php:13
filterwpcf7_validate_telinc\activation.php:14
filterwpcf7_validate_tel*inc\activation.php:15
actionadmin_enqueue_scriptsinc\activation.php:28
actionadmin_noticesinc\activation.php:33
actionadmin_initinc\settings.php:7
actionadmin_menuinc\settings.php:9
Maintenance & Trust

Contact Form 7 – Blacklist Unwanted Email Maintenance & Trust

Maintenance Signals

WordPress version tested5.3.21
Last updatedOct 15, 2019
PHP min version
Downloads6K

Community Trust

Rating100/100
Number of ratings1
Active installs400
Developer Profile

Contact Form 7 – Blacklist Unwanted Email Developer Profile

abahalkar

2 plugins · 500 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Contact Form 7 – Blacklist Unwanted Email

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/block-email-cf7/css/style.css

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Contact Form 7 – Blacklist Unwanted Email