Plugin Name: Traffic Counter Widget Plugin Security & Risk Analysis

wordpress.org/plugins/traffic-counter-widget

TCW lets your users know how much traffic you have on your blog. It counts pages visited, hits and unique IPs on your blog and shows it in a widget.

700 active installs v2.1.2 PHP + WP 2.8.0+ Updated Nov 28, 2017
traffic-countertraffic-widgetuser-trafficvisitors-counter
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Plugin Name: Traffic Counter Widget Plugin Safe to Use in 2026?

Generally Safe

Score 85/100

Plugin Name: Traffic Counter Widget Plugin has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The "traffic-counter-widget" plugin v2.1.2 exhibits a concerning security posture, primarily due to its unprotected entry points and lack of proper output escaping. While the plugin has no recorded vulnerability history and avoids dangerous functions or file operations, the static analysis reveals significant weaknesses. The presence of two AJAX handlers without any authentication checks creates a direct attack vector. Furthermore, all identified output operations are unescaped, meaning any data displayed to users could potentially be manipulated, leading to cross-site scripting (XSS) vulnerabilities. The taint analysis confirms these concerns, highlighting two flows with unsanitized paths classified as high severity. This suggests that user-supplied data is not being properly validated or escaped before being processed or outputted.

In conclusion, despite the absence of known CVEs, the plugin's current implementation presents a substantial risk. The unprotected AJAX endpoints and the complete lack of output escaping are critical flaws that attackers could exploit. While the plugin's small attack surface and lack of complex features might seem like strengths, they do not mitigate the severe risks posed by these vulnerabilities. Recommendations for improvement should focus on implementing robust authentication and authorization for all AJAX handlers and ensuring all output is properly escaped to prevent XSS attacks.

Key Concerns

  • Unprotected AJAX handlers
  • All outputs unescaped
  • High severity taint flows
  • No nonce checks on AJAX
  • SQL queries lack prepared statements
Vulnerabilities
None known

Plugin Name: Traffic Counter Widget Plugin Security Vulnerabilities

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

Plugin Name: Traffic Counter Widget Plugin Code Analysis

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

SQL Query Safety

30% prepared10 total queries

Output Escaping

0% escaped18 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
view (wp-traffic-counter-widget.php:141)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

Plugin Name: Traffic Counter Widget Plugin Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

authwp_ajax_wtcstatswp-traffic-counter-widget.php:325
noprivwp_ajax_wtcstatswp-traffic-counter-widget.php:326
WordPress Hooks 3
actionplugins_loadedwp-traffic-counter-widget.php:321
actionwp_print_styleswp-traffic-counter-widget.php:322
actioninitwp-traffic-counter-widget.php:323
Maintenance & Trust

Plugin Name: Traffic Counter Widget Plugin Maintenance & Trust

Maintenance Signals

WordPress version tested3.2.1
Last updatedNov 28, 2017
PHP min version
Downloads75K

Community Trust

Rating0/100
Number of ratings0
Active installs700
Developer Profile

Plugin Name: Traffic Counter Widget Plugin Developer Profile

aviaxis

1 plugin · 700 total installs

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

How We Detect Plugin Name: Traffic Counter Widget Plugin

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/traffic-counter-widget/traffic-counter-widget.css/wp-content/plugins/traffic-counter-widget/traffic-counter-widget.js
Script Paths
/wp-content/plugins/traffic-counter-widget/traffic-counter-widget.js
Version Parameters
traffic-counter-widget/traffic-counter-widget.css?ver=traffic-counter-widget/traffic-counter-widget.js?ver=

HTML / DOM Fingerprints

Data Attributes
id="wp_wtc_WidgetTitle"name="wp_wtc_WidgetTitle"id="wp_wtc_WidgetText_Visitors"name="wp_wtc_WidgetText_Visitors"id="wp_wtc_WidgetText_Hits"name="wp_wtc_WidgetText_Hits"+18 more
JS Globals
window.ipwindow.users_online
FAQ

Frequently Asked Questions about Plugin Name: Traffic Counter Widget Plugin