Widgets of Posts by Same Categories Security & Risk Analysis

wordpress.org/plugins/widgets-of-posts-by-same-categories

The widget area lists posts of the same category as the current post.

70 active installs v1.0.2 PHP + WP 3.0.1+ Updated Feb 18, 2011
categorypostsrelatedrelated-postswidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Widgets of Posts by Same Categories Safe to Use in 2026?

Generally Safe

Score 85/100

Widgets of Posts by Same Categories has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 15yr ago
Risk Assessment

The "widgets-of-posts-by-same-categories" plugin v1.0.2 exhibits a generally good security posture in several key areas. Notably, there are no known vulnerabilities (CVEs) recorded, which is a strong indicator of a well-maintained and secure codebase. The absence of a significant attack surface, with zero entry points identified, further reduces the potential for external exploitation. All SQL queries are correctly prepared, and there are no file operations or external HTTP requests, mitigating common web application vulnerabilities.

However, the static analysis does reveal some significant concerns. The presence of the `create_function` function, considered dangerous due to its potential for arbitrary code execution, is a critical finding. Furthermore, a substantial portion of output is not properly escaped (only 18%), indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities. The lack of any nonce or capability checks on the identified entry points (though there are zero, this still points to a lack of defensive programming) is also a weakness that could be exploited if new entry points were introduced without proper security measures.

While the plugin's vulnerability history is clean, this is offset by the immediate risks identified in the code. The use of `create_function` and the poor output escaping are actionable security flaws that require immediate attention. The plugin's strengths lie in its limited attack surface and secure SQL handling, but these are overshadowed by the critical code-level risks present.

Key Concerns

  • Use of dangerous function 'create_function'
  • Low percentage of properly escaped output
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Widgets of Posts by Same Categories Security Vulnerabilities

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

Widgets of Posts by Same Categories Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
27
6 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

create_functionadd_action('widgets_init', create_function('', 'return register_widget("widgets_of_posts_by_same_catwidgets-of-posts-by-same-categories.php:127

Output Escaping

18% escaped33 total outputs
Attack Surface

Widgets of Posts by Same Categories Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initwidgets-of-posts-by-same-categories.php:127
Maintenance & Trust

Widgets of Posts by Same Categories Maintenance & Trust

Maintenance Signals

WordPress version tested3.0.5
Last updatedFeb 18, 2011
PHP min version
Downloads10K

Community Trust

Rating100/100
Number of ratings1
Active installs70
Developer Profile

Widgets of Posts by Same Categories Developer Profile

alphasis

1 plugin · 70 total installs

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

How We Detect Widgets of Posts by Same Categories

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/widgets-of-posts-by-same-categories/widgets-of-posts-by-same-categories.php

HTML / DOM Fingerprints

CSS Classes
widgets_of_posts_by_same_categories
Data Attributes
id="widgets_of_posts_by_same_categories"name="widgets_of_posts_by_same_categories"id="of_posts_by_same_categories"
FAQ

Frequently Asked Questions about Widgets of Posts by Same Categories