SRS Simple Hits Counter Security & Risk Analysis

wordpress.org/plugins/srs-simple-hits-counter

Simple plugin to count and show a total number of hits (Unique visitors or page-views) to the site without using any third party code.

8K active installs v2.1 PHP + WP 3.4+ Updated Jan 19, 2025
analyticscounterhitspage-viewsvisitor
91
A · Safe
CVEs total2
Unpatched0
Last CVEJan 19, 2023
Safety Verdict

Is SRS Simple Hits Counter Safe to Use in 2026?

Generally Safe

Score 91/100

SRS Simple Hits Counter has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Jan 19, 2023Updated 1yr ago
Risk Assessment

The srs-simple-hits-counter plugin v2.1 exhibits a mixed security posture, with some positive security practices offset by significant concerns. While the plugin avoids dangerous functions, external HTTP requests, and file operations, its handling of entry points and data sanitization presents notable risks. The presence of two AJAX handlers without authentication checks, combined with two taint flows showing unsanitized paths of high severity, strongly suggests potential vulnerabilities. The plugin's history of known CVEs, including a high-severity SQL injection vulnerability, further exacerbates these concerns. Although no currently unpatched CVEs are listed and a nonce check is present, the pattern of past vulnerabilities and the identified code signals indicate a need for caution. The plugin's overall security is compromised by its unprotected entry points and the demonstrated lack of robust data sanitization in critical areas.

Key Concerns

  • Unprotected AJAX handlers
  • High severity unsanitized taint flows
  • SQL queries with limited prepared statements
  • Output escaping concerns
  • History of high severity vulnerabilities
Vulnerabilities
2

SRS Simple Hits Counter Security Vulnerabilities

CVEs by Year

1 CVE in 2020
2020
1 CVE in 2023
2023
Patched Has unpatched

Severity Breakdown

High
1
Medium
1

2 total CVEs

CVE-2023-22709medium · 4.3Cross-Site Request Forgery (CSRF)

SRS Simple Hits Counter <= 1.1.0 - Cross-Site Request Forgery

Jan 19, 2023 Patched in 1.1.1 (730d)
CVE-2020-5766high · 7.5Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

SRS Simple Hits Counter Plugin for WordPress 1.03 - 1.04 - Unauthenticated SQL Injection

Jul 10, 2020 Patched in 1.1.0 (1292d)
Code Analysis
Analyzed Mar 16, 2026

SRS Simple Hits Counter Code Analysis

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

SQL Query Safety

33% prepared12 total queries

Output Escaping

48% escaped54 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

3 flows2 with unsanitized paths
srs_hits_counter_graphs (SRS_Simple_Hits_Counter.php:262)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

SRS Simple Hits Counter Attack Surface

Entry Points4
Unprotected2

AJAX Handlers 2

authwp_ajax_srs_update_counterSRS_Simple_Hits_Counter.php:67
noprivwp_ajax_srs_update_counterSRS_Simple_Hits_Counter.php:68

Shortcodes 2

[srs_total_pageViews] SRS_Simple_Hits_Counter.php:157
[srs_total_visitors] SRS_Simple_Hits_Counter.php:166
WordPress Hooks 5
actionwp_headSRS_Simple_Hits_Counter.php:44
actionadmin_headSRS_Simple_Hits_Counter.php:45
actionwp_footerSRS_Simple_Hits_Counter.php:57
actionwidgets_initSRS_Simple_Hits_Counter.php:178
actionadmin_menuSRS_Simple_Hits_Counter.php:254
Maintenance & Trust

SRS Simple Hits Counter Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedJan 19, 2025
PHP min version
Downloads104K

Community Trust

Rating84/100
Number of ratings6
Active installs8K
Developer Profile

SRS Simple Hits Counter Developer Profile

SandyRig

2 plugins · 8K total installs

73
trust score
Avg Security Score
92/100
Avg Patch Time
1011 days
View full developer profile
Detection Fingerprints

How We Detect SRS Simple Hits Counter

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/srs-simple-hits-counter/js/srs_simple_hits_counter_js.js
Script Paths
/wp-content/plugins/srs-simple-hits-counter/js/srs_simple_hits_counter_js.js
Version Parameters
srs_simple_hits_counter_js.js?ver=

HTML / DOM Fingerprints

CSS Classes
page-viewsvisitors
JS Globals
templateUrlpost_id
Shortcode Output
<span class='page-views'><span class='visitors'>
FAQ

Frequently Asked Questions about SRS Simple Hits Counter