WPCF7 Anti-spam Security & Risk Analysis

wordpress.org/plugins/wpcf7-anti-spam

Upload wpcf7_antispam folder to the /wp-content/plugins/ directory Activate the plugin through the 'Plugins' menu in WordPress Configure the …

10 active installs v1.0 PHP 5.3+ WP 5.1+ Updated Apr 2, 2020
anti-spamcf7contact-form-7spam
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is WPCF7 Anti-spam Safe to Use in 2026?

Generally Safe

Score 85/100

WPCF7 Anti-spam 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 wpcf7-anti-spam v1.0 plugin presents a generally positive security posture based on the provided static analysis. The plugin has a remarkably small attack surface, with no exposed AJAX handlers, REST API routes, shortcodes, or cron events. Crucially, none of these entry points are left unprotected, indicating a strong commitment to limiting unauthorized access. The code also demonstrates good practices by exclusively using prepared statements for all SQL queries, mitigating the risk of SQL injection vulnerabilities. Furthermore, the absence of known CVEs and a clean vulnerability history suggests a well-maintained and secure codebase over time.

However, there are areas that warrant attention. The static analysis reveals that only 42% of output is properly escaped. This is a significant concern as it leaves the plugin susceptible to Cross-Site Scripting (XSS) vulnerabilities, where malicious scripts could be injected into the user interface. While the absence of dangerous functions, taint analysis findings, and known vulnerabilities are encouraging, the XSS risk stemming from insufficient output escaping cannot be ignored. The plugin also performs external HTTP requests and file operations without explicit mention of input validation or sanitization for these actions, though the lack of taint analysis makes it difficult to quantify this risk further. Overall, the plugin's minimal attack surface and robust SQL handling are strengths, but the unescaped output is a notable weakness that requires remediation.

Key Concerns

  • Insufficient output escaping (42%)
  • No capability checks
  • No nonce checks
Vulnerabilities
None known

WPCF7 Anti-spam Security Vulnerabilities

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

WPCF7 Anti-spam Code Analysis

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

Output Escaping

42% escaped19 total outputs
Attack Surface

WPCF7 Anti-spam Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionadmin_initwpcf7_antispam.php:35
actionadmin_menuwpcf7_antispam.php:40
actionwp_enqueue_scriptswpcf7_antispam.php:129
actionphpmailer_initwpcf7_antispam.php:242
actionwpcf7_before_send_mailwpcf7_antispam.php:304
filterwpcf7_special_mail_tagswpcf7_antispam.php:355
Maintenance & Trust

WPCF7 Anti-spam Maintenance & Trust

Maintenance Signals

WordPress version tested5.2.24
Last updatedApr 2, 2020
PHP min version5.3
Downloads922

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

WPCF7 Anti-spam Developer Profile

cronagency

1 plugin · 10 total installs

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

How We Detect WPCF7 Anti-spam

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wpcf7-anti-spam/js/script.js
Script Paths
/wp-content/plugins/wpcf7-anti-spam/js/script.js
Version Parameters
wpcf7-anti-spam/js/script.js?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about WPCF7 Anti-spam