Advanced Random Posts Security & Risk Analysis

wordpress.org/plugins/advanced-random-posts

Display random posts from selected categories or current category or all posts with thumbnail images (optional).

300 active installs v2.3 PHP + WP 2.8+ Updated Nov 28, 2017
categorycategory-postspostsrandomrandom-posts
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Advanced Random Posts Safe to Use in 2026?

Generally Safe

Score 85/100

Advanced Random Posts 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 advanced-random-posts v2.3 plugin exhibits a mixed security posture. On the positive side, there are no known historical vulnerabilities (CVEs) and the code appears to be free of critical taint analysis issues, SQL injection risks, and direct file operations. All SQL queries utilize prepared statements, which is a significant strength. However, several concerning practices are evident in the static analysis.

A primary concern is the use of the deprecated `create_function` within the code, which is a known security risk as it allows for dynamic code execution and can be a vector for various injection attacks. Additionally, a significant portion of the output (70%) is not properly escaped, meaning user-supplied data displayed on the frontend could be vulnerable to cross-site scripting (XSS) attacks. The complete absence of nonce checks and capability checks across all entry points, though the entry point count is zero, is a potential weakness if any new entry points are introduced without proper security considerations.

Given the lack of historical vulnerabilities and the absence of critical taint flows, the overall immediate risk might seem low. However, the presence of `create_function` and the high rate of unescaped output represent significant latent risks that could be exploited. The plugin's security strengths lie in its handling of database queries, but its weaknesses in dynamic code execution and output sanitization warrant attention.

Key Concerns

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

Advanced Random Posts Security Vulnerabilities

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

Advanced Random Posts Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
45
19 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("yg_adv_random_posts");') );adv-random-posts.php:135

Output Escaping

30% escaped64 total outputs
Attack Surface

Advanced Random Posts Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initadv-random-posts.php:135
Maintenance & Trust

Advanced Random Posts Maintenance & Trust

Maintenance Signals

WordPress version tested2.8.4
Last updatedNov 28, 2017
PHP min version
Downloads53K

Community Trust

Rating0/100
Number of ratings0
Active installs300
Developer Profile

Advanced Random Posts Developer Profile

yakuphan

4 plugins · 660 total installs

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

How We Detect Advanced Random Posts

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/advanced-random-posts/js/adv-random-posts.js/wp-content/plugins/advanced-random-posts/css/adv-random-posts.css
Script Paths
/wp-content/plugins/advanced-random-posts/js/adv-random-posts.js
Version Parameters
advanced-random-posts/js/adv-random-posts.js?ver=advanced-random-posts/css/adv-random-posts.css?ver=

HTML / DOM Fingerprints

CSS Classes
widget_advancedrandomposts
Data Attributes
id="advancedrandomposts"name="advancedrandomposts"
JS Globals
yg_adv_random_posts
FAQ

Frequently Asked Questions about Advanced Random Posts