Post Popularity Chart Widget Security & Risk Analysis

wordpress.org/plugins/post-popularity-chart-widget-lite

Post Popularity Chart Widget, by which you display a graph with statistics of visits of any article on your site.

10 active installs v1.0.1 PHP + WP 2.8.0+ Updated Aug 18, 2015
chartdiagramgraphpupularwidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Post Popularity Chart Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Post Popularity Chart Widget has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 10yr ago
Risk Assessment

The static analysis of "post-popularity-chart-widget-lite" v1.0.1 reveals a plugin with a minimal attack surface. Notably, there are no apparent AJAX handlers, REST API routes, shortcodes, or cron events, which significantly reduces the avenues for external exploitation. However, the code analysis flags several concerning practices. The presence of the `create_function` is a high-risk indicator, as it can lead to arbitrary code execution if user-supplied data is passed to it. Furthermore, the complete lack of prepared statements for SQL queries (100% of 7 queries) and the absence of output escaping (0% properly escaped for 46 outputs) are critical security weaknesses that could easily lead to SQL injection and cross-site scripting (XSS) vulnerabilities, respectively. The plugin's vulnerability history is clean, with no recorded CVEs. While this is a positive sign, it doesn't negate the significant risks identified in the current code. The absence of nonces and capability checks on the (albeit non-existent) entry points also contributes to a generally insecure coding standard. In conclusion, while the plugin has a small attack surface, the identified code vulnerabilities, particularly the use of `create_function`, raw SQL, and unescaped output, represent substantial security risks that demand immediate attention.

Key Concerns

  • Use of create_function
  • Raw SQL queries (no prepared statements)
  • Unescaped output
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Post Popularity Chart Widget Security Vulnerabilities

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

Post Popularity Chart Widget Code Analysis

Dangerous Functions
1
Raw SQL Queries
7
0 prepared
Unescaped Output
46
0 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("post_popularity_graph");'));post-popularity-chart-widget.php:181

SQL Query Safety

0% prepared7 total queries

Output Escaping

0% escaped46 total outputs
Attack Surface

Post Popularity Chart Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initpost-popularity-chart-widget.php:181
Maintenance & Trust

Post Popularity Chart Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.3.34
Last updatedAug 18, 2015
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings2
Active installs10
Developer Profile

Post Popularity Chart Widget Developer Profile

Piotr Pesta

6 plugins · 80 total installs

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

How We Detect Post Popularity Chart Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/post-popularity-chart-widget-lite/style.css/wp-content/plugins/post-popularity-chart-widget-lite/script.js
Script Paths
/wp-content/plugins/post-popularity-chart-widget-lite/script.js
Version Parameters
post-popularity-chart-widget-lite/style.css?ver=post-popularity-chart-widget-lite/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
post-popularity-chart-widget-lite-chart
Data Attributes
id="post_popularity_graph_widget_id"name="post_popularity_graph_widget_name"value="chartcolor"name="chartcolor"value="backgroundcolor"name="backgroundcolor"+14 more
JS Globals
window.post_popularity_chart_widget_lite_settings
FAQ

Frequently Asked Questions about Post Popularity Chart Widget