Product View Counter Security & Risk Analysis

wordpress.org/plugins/product-view-counter

The plugin keeps track your product pageviews of today, yesterday, last week and total views.

10 active installs v1.1.0 PHP 5.6+ WP 4.2+ Updated Sep 16, 2021
counterproductview-counterwoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Product View Counter Safe to Use in 2026?

Generally Safe

Score 85/100

Product View Counter has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4yr ago
Risk Assessment

The "product-view-counter" plugin version 1.1.0 presents a mixed security posture. On the positive side, it has no known vulnerabilities (CVEs), no dangerous functions, no file operations, and no external HTTP requests. The plugin also exhibits good practices by using prepared statements for a significant majority of its SQL queries and includes capability checks. However, a critical concern arises from the lack of proper output escaping for all identified outputs. This significantly increases the risk of cross-site scripting (XSS) vulnerabilities, as user-supplied data or dynamic content displayed to users might not be sanitized, allowing attackers to inject malicious scripts. Additionally, the taint analysis reveals one flow with an unsanitized path, which could potentially lead to security issues if not properly addressed, even though it's not currently classified as critical or high severity.

Key Concerns

  • All outputs are unescaped
  • Flow with unsanitized path found
  • No nonce checks on potential entry points
Vulnerabilities
None known

Product View Counter Security Vulnerabilities

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

Product View Counter Code Analysis

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

SQL Query Safety

86% prepared7 total queries

Output Escaping

0% escaped19 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
save_admin_form_data (product-view-counter.php:128)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Product View Counter Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionwp_enqueue_scriptsproduct-view-counter.php:47
actionadmin_enqueue_scriptsproduct-view-counter.php:48
actionadmin_menuproduct-view-counter.php:49
actionwoocommerce_after_single_productproduct-view-counter.php:50
Maintenance & Trust

Product View Counter Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedSep 16, 2021
PHP min version5.6
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Product View Counter Developer Profile

Aftabul Islam

6 plugins · 110 total installs

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

How We Detect Product View Counter

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/product-view-counter/css/style.css
Version Parameters
product-view-counter/css/style.css?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Product View Counter