Analytics Spam Blocker Security & Risk Analysis

wordpress.org/plugins/analytics-spam-blocker

Prevent referrer spam from affecting your website analytics. Easily create a blocklist and receive new domains weekly to stay on top of the issue.

900 active installs v4.2 PHP 8.0+ WP 5.8+ Updated Dec 27, 2025
analyticsantispamreferral-spamreferrer-spamspam
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Analytics Spam Blocker Safe to Use in 2026?

Generally Safe

Score 100/100

Analytics Spam Blocker has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3mo ago
Risk Assessment

The analytics-spam-blocker plugin v4.2 demonstrates a generally good security posture in several key areas. The absence of known CVEs, a clean vulnerability history, and the use of prepared statements for all SQL queries are significant strengths. Furthermore, the plugin does not appear to have a large attack surface with its entry points, and there are no recorded critical or high severity taint flows. The presence of a nonce check and a single external HTTP request are also not immediately concerning.

However, there are several areas that warrant attention. The use of the `unserialize` function is a significant concern, as it can be exploited if malicious data is passed to it, potentially leading to remote code execution. While the static analysis indicates no unsanitized paths in taint flows, the inherent risk of `unserialize` cannot be ignored without further analysis of how it's used and if the input is strictly controlled. Additionally, the low percentage of properly escaped output (17%) is a notable weakness, indicating a potential for cross-site scripting (XSS) vulnerabilities, especially given the file operations and external HTTP requests that might influence or process output.

Overall, while the plugin benefits from a clean vulnerability history and solid database query practices, the identified code signals, particularly `unserialize` and poor output escaping, introduce notable risks. The lack of capability checks on any entry points also raises a flag, though the low number of entry points mitigates this somewhat. Developers should prioritize addressing the `unserialize` function and improving output escaping to enhance the plugin's security.

Key Concerns

  • Use of unserialize function
  • Low percentage of output escaping
  • No capability checks on entry points
Vulnerabilities
None known

Analytics Spam Blocker Security Vulnerabilities

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

Analytics Spam Blocker Code Analysis

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

Dangerous Functions Found

unserialize$domains = unserialize(file_get_contents($domain_file));analytics-spam-blocker-functions.php:233

Output Escaping

17% escaped23 total outputs
Attack Surface

Analytics Spam Blocker Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actioninitanalytics-spam-blocker.php:41
actionadmin_menuanalytics-spam-blocker.php:46
actionadmin_print_stylesanalytics-spam-blocker.php:47
filterplugin_row_metaanalytics-spam-blocker.php:48
actioninitanalytics-spam-blocker.php:50

Scheduled Events 1

spamblocker_get_spam_domains
Maintenance & Trust

Analytics Spam Blocker Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 27, 2025
PHP min version8.0
Downloads44K

Community Trust

Rating78/100
Number of ratings14
Active installs900
Developer Profile

Analytics Spam Blocker Developer Profile

Arnan de Gans

6 plugins · 23K total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
1353 days
View full developer profile
Detection Fingerprints

How We Detect Analytics Spam Blocker

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/analytics-spam-blocker/library/dashboard.css

HTML / DOM Fingerprints

CSS Classes
wrap
HTML Comments
Analytics Spam Blocker - Start Analytics Spam Blocker - End
FAQ

Frequently Asked Questions about Analytics Spam Blocker