Popular Widget Security & Risk Analysis

wordpress.org/plugins/popular-widget

Display the most commented or most viewed posts in a tabbed widget, filter the post by date range or by category. It also includes a tags tab.

800 active installs v1.7.0 PHP + WP 3.0.0+ Updated Nov 28, 2017
boxmost-commentedmost-viewedpopularwidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Popular Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Popular Widget 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 'popular-widget' plugin version 1.7.0 presents a concerning security posture primarily due to its unprotected entry points. The analysis reveals two AJAX handlers that lack any authentication checks, creating a significant attack surface. Furthermore, the presence of the dangerous `create_function` construct is a notable red flag, as it can be exploited for code injection if not handled with extreme care. While the plugin doesn't appear to have a history of documented vulnerabilities and shows some good practices like using prepared statements for half of its SQL queries and properly escaping a majority of its output, these strengths are overshadowed by the identified weaknesses.

The lack of nonce checks and capability checks on its AJAX handlers is a critical oversight. The absence of any recorded vulnerabilities in its history is positive, but it does not negate the inherent risks identified in the static analysis. It's possible that the plugin's functionality hasn't been thoroughly targeted or that past vulnerabilities were not publicly disclosed. In conclusion, while there are some positive indicators of secure coding practices, the unprotected AJAX endpoints and the use of `create_function` expose the plugin to potential exploitation. Remediation of these issues is strongly recommended.

Key Concerns

  • Unprotected AJAX handlers
  • Dangerous function used (create_function)
  • Missing nonce checks
  • Missing capability checks
  • SQL queries not using prepared statements
  • Improperly escaped output
Vulnerabilities
None known

Popular Widget Security Vulnerabilities

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

Popular Widget Code Analysis

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

Dangerous Functions Found

create_functionadd_action( 'widgets_init' , create_function( '', 'return register_widget("PopularWidget");' ) );popular-widget.php:136

SQL Query Safety

50% prepared4 total queries

Output Escaping

70% escaped43 total outputs
Attack Surface
2 unprotected

Popular Widget Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

authwp_ajax_popwid_page_view_count_inc\functions.php:26
noprivwp_ajax_popwid_page_view_count_inc\functions.php:27
WordPress Hooks 3
actionwidgets_initpopular-widget.php:136
actionadmin_print_styles_inc\functions.php:24
actionwp_enqueue_scripts_inc\functions.php:25
Maintenance & Trust

Popular Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.0
Last updatedNov 28, 2017
PHP min version
Downloads129K

Community Trust

Rating90/100
Number of ratings14
Active installs800
Developer Profile

Popular Widget Developer Profile

markethax

9 plugins · 12K total installs

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

How We Detect Popular Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/popular-widget/_css/admin.css/wp-content/plugins/popular-widget/_js/admin.js/wp-content/plugins/popular-widget/_css/pop-widget.css/wp-content/plugins/popular-widget/_js/pop-widget.js
Script Paths
/wp-content/plugins/popular-widget/_js/admin.js/wp-content/plugins/popular-widget/_js/pop-widget.js
Version Parameters
popular-widget/_css/admin.css?ver=popular-widget/_js/admin.js?ver=popular-widget/_css/pop-widget.css?ver=popular-widget/_js/pop-widget.js?ver=

HTML / DOM Fingerprints

CSS Classes
popular-widgetpopwid-widget-tabspopwid-widget-tabs-listpopwid-widget-tabs-list-lipopwid-widget-tabs-list-li-activepopwid-widget-tabs-list-li-tab
HTML Comments
Popular Widget - functionsPopular Widget
Data Attributes
data-popwid-postiddata-popwid-ajaxurldata-popwid-id
JS Globals
popwid
FAQ

Frequently Asked Questions about Popular Widget