
Posts By Category Widget Security & Risk Analysis
wordpress.org/plugins/widget-posts-by-categoryA simple, themeable widget which displays posts in the category, order, and quantity of your choosing.
Is Posts By Category Widget Safe to Use in 2026?
Generally Safe
Score 85/100Posts By Category Widget has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "widget-posts-by-category" plugin, version 1.0.4, presents a mixed security picture. On the positive side, it demonstrates good practices by not exposing any AJAX handlers, REST API routes, shortcodes, or cron events without proper authentication or permission checks, resulting in a zero attack surface. Furthermore, all its SQL queries are handled using prepared statements, and it avoids file operations and external HTTP requests. The absence of known vulnerabilities in its history is also a strong positive indicator.
However, the static analysis reveals significant concerns. The presence of dangerous functions like `unserialize` and `create_function` is a major red flag. `unserialize` can lead to remote code execution if untrusted data is unserialized, and `create_function` is deprecated and can also be a security risk due to its ability to execute arbitrary code. The low percentage of properly escaped output (45%) is another critical weakness, suggesting a high likelihood of cross-site scripting (XSS) vulnerabilities, especially when combined with the lack of nonce checks and capability checks. The absence of taint analysis results could be misleading if the complex interactions of these dangerous functions were not fully captured.
In conclusion, while the plugin has a clean vulnerability history and a contained attack surface, the identified dangerous functions and significant output escaping deficiencies pose substantial risks. The potential for RCE via `unserialize` and XSS vulnerabilities due to unescaped output are serious concerns that overshadow its positive attributes. Users should exercise extreme caution until these issues are addressed.
Key Concerns
- Presence of dangerous function: unserialize
- Presence of dangerous function: create_function
- Low output escaping percentage (45%)
- Missing nonce checks
- Missing capability checks
Posts By Category Widget Security Vulnerabilities
Posts By Category Widget Code Analysis
Dangerous Functions Found
Output Escaping
Posts By Category Widget Attack Surface
WordPress Hooks 2
Maintenance & Trust
Posts By Category Widget Maintenance & Trust
Maintenance Signals
Community Trust
Posts By Category Widget Alternatives
WP Categories Widget
wp-categories-widget
Display the list of categories for any taxonomies type (WooCommerce Product Category, Blog Category, Project Category...etc) in sidebar
Latest Posts
latest-posts
Latest posts widget to display recent posts from category.
Recent Posts by Category Widget
recent-posts-by-category-widget
Just like the default Recent Posts widget except you can choose a category to pull posts from.
TW Recent Posts Widget
tw-recent-posts-widget
A simple and flexible widget for WordPress which will show recent posts from selected category allowing increased customization to display recent post …
Widget Post Slider
widget-post-slider
Widget Post Slider to display posts image in a slider from category.
Posts By Category Widget Developer Profile
1 plugin · 80 total installs
How We Detect Posts By Category Widget
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/widget-posts-by-category/views/admin.php/wp-content/plugins/widget-posts-by-category/views/template.phpHTML / DOM Fingerprints
cats-loop-widgetid="category--1"