Smart Posts Widget Security & Risk Analysis

wordpress.org/plugins/smart-posts-widget

Adds a widget that shows most all type of posts from wordpress. Its shows Recent post, Random posts, Category wise posts, Tag wise posts.

50 active installs v1.0 PHP + WP 3.0+ Updated Apr 28, 2016
all-postspagepostpostssidebar
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Smart Posts Widget Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

The "smart-posts-widget" v1.0 plugin presents a mixed security picture. On the positive side, it exhibits an exceptionally small attack surface, with no detectable AJAX handlers, REST API routes, shortcodes, or cron events. Furthermore, all SQL queries are correctly implemented using prepared statements. However, significant concerns arise from the use of the `create_function` dangerous function, which is a known security risk as it can be exploited to execute arbitrary code if user-supplied input is passed to it. Additionally, a very low percentage of output (9%) is properly escaped, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities. The lack of any recorded vulnerability history is a positive sign, suggesting the plugin has not been a target or hasn't had exploitable flaws found publicly. Despite the lack of known CVEs, the identified code signals, particularly the dangerous function usage and poor output escaping, warrant caution and manual code review.

Key Concerns

  • Dangerous function used (create_function)
  • Low percentage of properly escaped output
  • No nonce checks implemented
  • No capability checks implemented
Vulnerabilities
None known

Smart Posts Widget Security Vulnerabilities

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

Smart Posts Widget Code Analysis

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

Dangerous Functions Found

create_function$new_excerpt_length = create_function('$length', "return " . $instance["excerpt_length"] . ";");smart-posts.php:91
create_functionadd_action( 'widgets_init', create_function('', 'return register_widget("SmartPosts");') );smart-posts.php:421

Output Escaping

9% escaped96 total outputs
Attack Surface

Smart Posts Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actioninitsmart-posts.php:28
filterexcerpt_lengthsmart-posts.php:93
actionwidgets_initsmart-posts.php:421
Maintenance & Trust

Smart Posts Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.5.33
Last updatedApr 28, 2016
PHP min version
Downloads6K

Community Trust

Rating60/100
Number of ratings2
Active installs50
Developer Profile

Smart Posts Widget Developer Profile

Purab

3 plugins · 80 total installs

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

How We Detect Smart Posts Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/smart-posts-widget/smart-posts/admin-smart-posts.css/wp-content/plugins/smart-posts-widget/smart-posts/smart-posts.css
Script Paths
/wp-content/plugins/smart-posts-widget/smart-posts.js
Version Parameters
smart-posts-widget/smart-posts.js?ver=smart-posts-widget/smart-posts/admin-smart-posts.css?ver=smart-posts-widget/smart-posts/smart-posts.css?ver=

HTML / DOM Fingerprints

CSS Classes
smart-posts-widgetsmart-post-singleitem
Data Attributes
data-post-typedata-numdata-sort-bydata-orderdata-stickydata-excerpt+10 more
FAQ

Frequently Asked Questions about Smart Posts Widget