Random Post with ajax Security & Risk Analysis

wordpress.org/plugins/random-post-ajax

Combining beauty and efficiency to display random posts

30 active installs v0.8.1 PHP + WP 4.0.1+ Updated Mar 28, 2020
ajaxfeatured-imagespostrandomrandom-posts
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Random Post with ajax Safe to Use in 2026?

Generally Safe

Score 85/100

Random Post with ajax has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 6yr ago
Risk Assessment

The 'random-post-ajax' plugin version 0.8.1 presents a significant security risk primarily due to its unprotected AJAX handlers. The static analysis reveals two AJAX entry points, both of which lack any authentication or authorization checks. This means any user, regardless of their logged-in status or role, can trigger these functions, creating a wide attack surface. While the plugin does not appear to use dangerous functions or external HTTP requests, and its SQL queries are properly prepared, the absence of output escaping on all identified outputs is a serious concern. This oversight could lead to Cross-Site Scripting (XSS) vulnerabilities if the data processed by the AJAX handlers is rendered on the frontend without proper sanitization. The plugin's vulnerability history is clean, with no recorded CVEs, which suggests it may not have been a target for attackers or has historically been well-maintained. However, the current lack of protective measures on its AJAX endpoints is a critical weakness that outweighs its positive attributes and requires immediate attention.

Key Concerns

  • AJAX handlers without auth checks
  • All outputs are unescaped
Vulnerabilities
None known

Random Post with ajax Security Vulnerabilities

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

Random Post with ajax Code Analysis

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

Output Escaping

0% escaped29 total outputs
Attack Surface
2 unprotected

Random Post with ajax Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

authwp_ajax_wprndpst_Sortingcore.php:23
noprivwp_ajax_wprndpst_Sortingcore.php:24
WordPress Hooks 7
actionadmin_menurandom-post-class.php:16
filterplugin_action_linksrandom-post-class.php:17
actionwp_headrandom-post-class.php:18
actionadmin_initrandom-post-class.php:19
actionwprndpst_settingsrandom-post-class.php:20
actionadmin_initrandom-post-class.php:21
actionwp_enqueue_scriptsrandom-post-class.php:22
Maintenance & Trust

Random Post with ajax Maintenance & Trust

Maintenance Signals

WordPress version tested5.3.21
Last updatedMar 28, 2020
PHP min version
Downloads6K

Community Trust

Rating70/100
Number of ratings2
Active installs30
Developer Profile

Random Post with ajax Developer Profile

sadegh3333

2 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 Random Post with ajax

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/random-post-ajax/assets/css/main.css/wp-content/plugins/random-post-ajax/inc/js/main.js
Script Paths
inc/js/main.js

HTML / DOM Fingerprints

JS Globals
var ajaxurl
FAQ

Frequently Asked Questions about Random Post with ajax