WP Ajax Random Posts Security & Risk Analysis

wordpress.org/plugins/wp-ajax-random-posts

Show your Random posts on sidebar and provide ajax auto refresh function.

10 active installs v1.0.0 PHP + WP 2.7+ Updated Oct 18, 2010
ajaxpostsrandrandom
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Ajax Random Posts Safe to Use in 2026?

Generally Safe

Score 85/100

WP Ajax Random Posts 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 `wp-ajax-random-posts` plugin, version 1.0.0, exhibits a mixed security posture. On the positive side, the static analysis indicates a very small attack surface with zero AJAX handlers, REST API routes, shortcodes, or cron events. Furthermore, there are no reported vulnerabilities (CVEs) associated with this plugin, suggesting a relatively clean history. The plugin also avoids dangerous functions, file operations, external HTTP requests, and uses prepared statements for any SQL queries it might perform. However, a significant concern arises from the complete lack of output escaping across all 15 identified output points. This means that any data being displayed by the plugin is not being properly sanitized, potentially opening the door to cross-site scripting (XSS) vulnerabilities if the data originates from user input or untrusted sources. Additionally, the absence of nonce checks and capability checks, though not directly linked to an attack surface in this analysis, represents a missed opportunity for robust security practices, especially if the plugin were to expand its functionality in the future.

Key Concerns

  • All output not properly escaped
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

WP Ajax Random Posts Security Vulnerabilities

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

WP Ajax Random Posts Code Analysis

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

Output Escaping

0% escaped15 total outputs
Attack Surface

WP Ajax Random Posts Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actioninitfunc\function.php:21
actionadmin_menufunc\function.php:53
actionwp_headfunc\function.php:62
actionwp_footerfunc\function.php:63
actionwidgets_initfunc\function.php:109
Maintenance & Trust

WP Ajax Random Posts Maintenance & Trust

Maintenance Signals

WordPress version tested3.0.5
Last updatedOct 18, 2010
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

WP Ajax Random Posts Developer Profile

qiqiboy

4 plugins · 40 total installs

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

How We Detect WP Ajax 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/wp-ajax-random-posts/js/wp-ajax-random-posts.js
Script Paths
/wp-content/plugins/wp-ajax-random-posts/js/wp-ajax-random-posts.js

HTML / DOM Fingerprints

CSS Classes
random-postrandom-post-titlerandom-post-linkrandom-post-excerpt
Data Attributes
onclick="WARP_.get_random_posts(
JS Globals
WARP_WARP_.get_random_posts
Shortcode Output
<ul id="wp-random-posts"> WARP_Random_posts_substr(<li id="random-post-<div class="random-post-title">
FAQ

Frequently Asked Questions about WP Ajax Random Posts