Recent Posts by Category Widget Security & Risk Analysis

wordpress.org/plugins/recent-posts-by-category-widget

Just like the default Recent Posts widget except you can choose a category to pull posts from.

4K active installs v1.3 PHP + WP 3.0.1+ Updated Nov 28, 2017
categoriescategoryrecent-postssidebarwidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Recent Posts by Category Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Recent Posts by Category 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 "recent-posts-by-category-widget" plugin version 1.3 exhibits a seemingly strong security posture based on the provided static analysis. There are no identified AJAX handlers, REST API routes, shortcodes, or cron events that form an attack surface, and consequently, no entry points without proper authentication checks. The code signals also indicate good practices, with no dangerous functions, all SQL queries utilizing prepared statements, and no file operations or external HTTP requests. The plugin also boasts zero known CVEs, indicating a lack of past security incidents. This suggests the developers have prioritized secure coding practices.

However, a significant concern arises from the low percentage of properly escaped output (38%). While the static analysis did not detect any specific taint flows or critical vulnerabilities related to this, unescaped output can be a precursor to Cross-Site Scripting (XSS) vulnerabilities, especially if the plugin handles user-generated content or data from external sources that is then displayed on the frontend. The absence of any nonce checks or capability checks, while not immediately indicative of a vulnerability given the lack of exposed entry points, does represent a potential weakness if new entry points were to be introduced in future versions without corresponding security controls. The clean vulnerability history is positive, but the potential for XSS due to inadequate output escaping remains a concern that warrants attention.

Key Concerns

  • Low percentage of properly escaped output
  • No nonce checks present
  • No capability checks present
Vulnerabilities
None known

Recent Posts by Category Widget Security Vulnerabilities

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

Recent Posts by Category Widget Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
8
5 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

38% escaped13 total outputs
Attack Surface

Recent Posts by Category Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initrecent-posts-by-category-widget.php:15
Maintenance & Trust

Recent Posts by Category Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.2.39
Last updatedNov 28, 2017
PHP min version
Downloads33K

Community Trust

Rating94/100
Number of ratings12
Active installs4K
Developer Profile

Recent Posts by Category Widget Developer Profile

Ross Cornell

1 plugin · 4K total installs

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

How We Detect Recent Posts by Category Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/recent-posts-by-category-widget/css/style.css/wp-content/plugins/recent-posts-by-category-widget/js/script.js
Script Paths
/wp-content/plugins/recent-posts-by-category-widget/js/script.js
Version Parameters
recent-posts-by-category-widget/css/style.css?ver=recent-posts-by-category-widget/js/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
rpjc_widget_cat_recent_posts
Data Attributes
id="rpjc_widget_cat_recent_posts_title"id="rpjc_widget_cat_recent_posts_category"id="rpjc_widget_cat_recent_posts_number"id="rpjc_widget_cat_recent_posts_show_date"
FAQ

Frequently Asked Questions about Recent Posts by Category Widget