PostViews Count & Popular Posts Widgets Security & Risk Analysis

wordpress.org/plugins/tp-postviews-count-popular-posts-widgets

TP WordPress Post Views Counter and Popular Posts Widget based on Post Views Plugin (TP WP Post Views) will help sites to add post views and show Popu …

50 active installs v1.1.1 PHP + WP 3.4.1+ Updated Mar 13, 2018
post-viewspost-views-countviewswp-popular-postswp-post-views
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is PostViews Count & Popular Posts Widgets Safe to Use in 2026?

Generally Safe

Score 85/100

PostViews Count & Popular Posts Widgets 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 tp-postviews-count-popular-posts-widgets plugin v1.1.1 presents a mixed security posture. On the positive side, it demonstrates good practices by utilizing prepared statements for all SQL queries and has no recorded vulnerabilities or CVEs, suggesting a generally stable codebase in terms of known exploits.

However, significant security concerns arise from the static analysis. The plugin exposes two AJAX handlers, both of which lack authentication checks. This represents a substantial attack surface that could be exploited by unauthenticated users. Furthermore, a considerable percentage of output (92%) is not properly escaped, increasing the risk of Cross-Site Scripting (XSS) vulnerabilities. The presence of the `create_function` dangerous function is also a red flag, as it can be exploited for code injection if used with user-supplied data.

The lack of historical vulnerabilities, while seemingly positive, combined with the current code quality issues, might indicate a lack of thorough security auditing or a recent shift in development practices. The plugin's strengths lie in its SQL practices and lack of known exploits, but these are overshadowed by the critical risks of unauthenticated AJAX endpoints and potential XSS due to unescaped output.

Key Concerns

  • Unprotected AJAX handlers
  • High percentage of unescaped output
  • Dangerous function used (create_function)
  • No capability checks on entry points
Vulnerabilities
None known

PostViews Count & Popular Posts Widgets Security Vulnerabilities

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

PostViews Count & Popular Posts Widgets Code Analysis

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

Dangerous Functions Found

create_functionadd_action('widgets_init', create_function('', 'register_widget("tp_pviews_show_popular");'));public\tp_pviews_functions.php:11

Output Escaping

8% escaped26 total outputs
Attack Surface
2 unprotected

PostViews Count & Popular Posts Widgets Attack Surface

Entry Points3
Unprotected2

AJAX Handlers 2

noprivwp_ajax_tp_postviewsinc\class_tp_pviews.php:52
authwp_ajax_tp_postviewsinc\class_tp_pviews.php:53

Shortcodes 1

[tp_postviews] public\tp_pviews_functions.php:10
WordPress Hooks 7
actionadmin_initinc\class_tp_pviews.php:40
actionadmin_menuinc\class_tp_pviews.php:41
actionwp_enqueue_scriptsinc\class_tp_pviews.php:48
actionwp_enqueue_scriptsinc\class_tp_pviews.php:49
filterthe_contentinc\class_tp_pviews.php:50
filterthe_excerptinc\class_tp_pviews.php:51
actionwidgets_initpublic\tp_pviews_functions.php:11
Maintenance & Trust

PostViews Count & Popular Posts Widgets Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedMar 13, 2018
PHP min version
Downloads6K

Community Trust

Rating100/100
Number of ratings1
Active installs50
Developer Profile

PostViews Count & Popular Posts Widgets Developer Profile

ThemePacific

3 plugins · 10K total installs

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

How We Detect PostViews Count & Popular Posts Widgets

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/tp-postviews-count-popular-posts-widgets/public/css/tppviews.css/wp-content/plugins/tp-postviews-count-popular-posts-widgets/public/js/tp_pviews.js
Version Parameters
tp_pviews_js?ver=tppviews?ver=

HTML / DOM Fingerprints

CSS Classes
tpacific-pviews-wraptp_popular_sb-tabs-wraptp_popular_sb-tabs-wrap-litp_popular_sb-post-thumbnail
Data Attributes
tp_postviews
JS Globals
tp_postviews
REST Endpoints
/wp-json/tp_postviews/
Shortcode Output
[tp_postviews]
FAQ

Frequently Asked Questions about PostViews Count & Popular Posts Widgets