Recent Posts Shortcode & Widget Security & Risk Analysis

wordpress.org/plugins/recent-posts-shortcode-widget

Display list of recent posts and latest posts or random posts using the [recentposts-sc] shortcode in any page or in sidebar widgets.

300 active installs v1.8 PHP + WP 3.3+ Updated Mar 14, 2018
latest-postslatest-posts-shortcodepostsrecent-postsrecent-posts-shortcode
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Recent Posts Shortcode & Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Recent Posts Shortcode & 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-shortcode-widget plugin version 1.8 exhibits a generally strong security posture based on the provided static analysis. The absence of any AJAX handlers, REST API routes, cron events, or file operations significantly limits the plugin's attack surface. Furthermore, all identified SQL queries utilize prepared statements, which is a crucial security best practice. The plugin also reports no known vulnerabilities or CVEs, indicating a history of good security maintenance.

However, there are a few areas for concern. The plugin has a notable lack of capability checks and nonce checks across its entry points. While the static analysis reports zero unprotected entry points, the absence of these fundamental security mechanisms for its single shortcode means that any authenticated user, regardless of their role or permissions, could potentially trigger its functionality. Additionally, a significant portion of the output (25%) is not properly escaped, which could lead to Cross-Site Scripting (XSS) vulnerabilities if malicious data is processed and displayed. The lack of taint analysis results is also a minor concern, as it prevents a deeper understanding of how data flows within the plugin.

In conclusion, the plugin benefits from a small attack surface and secure database practices. However, the missing capability and nonce checks on its shortcode, coupled with the unescaped output, introduce potential security risks that should be addressed. The absence of vulnerability history is positive, but doesn't entirely mitigate the risks identified in the code analysis.

Key Concerns

  • Unescaped output (25%)
  • Missing capability checks
  • Missing nonce checks
Vulnerabilities
None known

Recent Posts Shortcode & Widget Security Vulnerabilities

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

Recent Posts Shortcode & Widget Code Analysis

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

Output Escaping

75% escaped12 total outputs
Attack Surface

Recent Posts Shortcode & Widget Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[recentposts-sc] index.php:446
WordPress Hooks 5
filterwidget_textindex.php:29
actionthe_postindex.php:111
actionsave_postindex.php:112
filterexcerpt_lengthindex.php:117
filterwidget_textindex.php:436
Maintenance & Trust

Recent Posts Shortcode & Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedMar 14, 2018
PHP min version
Downloads13K

Community Trust

Rating100/100
Number of ratings6
Active installs300
Developer Profile

Recent Posts Shortcode & Widget Developer Profile

rajros

1 plugin · 300 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 Shortcode & 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-shortcode-widget/css/style.css

HTML / DOM Fingerprints

CSS Classes
rpscw-recentpostwraprpscw-colrpscw-recentpostsrpscw-sideptrpscw-widgetprpscw-excerptscrpscw-thumbnail-wrapper
Data Attributes
data-image-sizedata-excerptlengthdata-enable-excerptdata-show-image
Shortcode Output
<div class="rpscw-recentpostwrap"><div class="rpscw-col"><div class="rpscw-recentposts"><div class="rpscw-sidept">
FAQ

Frequently Asked Questions about Recent Posts Shortcode & Widget