Switch Last Posts Widget Security & Risk Analysis

wordpress.org/plugins/switch-last-posts-widget

A widget which displays the latest posts according the current category.

10 active installs v1.1 PHP + WP 3.6.1+ Updated Dec 11, 2013
last-postsrecent-postsswitchwidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Switch Last Posts Widget Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 12yr ago
Risk Assessment

The "switch-last-posts-widget" v1.1 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of any reported vulnerabilities, CVEs, or identified critical/high severity taint flows is a significant positive indicator. The plugin also appears to avoid common pitfalls such as direct SQL queries without prepared statements and external HTTP requests, suggesting a cautious approach to external interactions and data handling.

However, a notable concern arises from the output escaping. With only 23% of outputs properly escaped, there is a substantial risk of Cross-Site Scripting (XSS) vulnerabilities. Any dynamic content rendered by the plugin that is not correctly sanitized could be exploited by attackers to inject malicious scripts into the user's browser. Furthermore, the lack of any identified capability checks or nonce checks on entry points, though the attack surface is currently zero, indicates a potential weakness if new entry points are introduced in the future without proper security measures. The vulnerability history being clear is positive, but the code analysis highlights areas that require immediate attention.

In conclusion, while the plugin has a clean vulnerability history and avoids several risky practices, the high percentage of unescaped output presents a significant and actionable security risk that overshadows the positive findings. Addressing the output escaping should be the top priority.

Key Concerns

  • Low percentage of properly escaped output
  • No capability checks on entry points
  • No nonce checks on entry points
Vulnerabilities
None known

Switch Last Posts Widget Security Vulnerabilities

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

Switch Last Posts Widget Code Analysis

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

Output Escaping

23% escaped30 total outputs
Attack Surface

Switch Last Posts Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initswitch-last-posts-widget.php:20
Maintenance & Trust

Switch Last Posts Widget Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedDec 11, 2013
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Switch Last Posts Widget Developer Profile

LordPretender

8 plugins · 310 total installs

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

How We Detect Switch Last Posts Widget

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
widget-containerpost-date
Data Attributes
id="slpw_widget"id="slpw_widget-title"id="slpw_widget-mainCat"id="slpw_widget-secondCat"id="slpw_widget-number"id="slpw_widget-show_date"
FAQ

Frequently Asked Questions about Switch Last Posts Widget