Random Post Redirect (also with Shortcode) Security & Risk Analysis

wordpress.org/plugins/random-post-redirect-also-with-shortcode

Redirect user to a random post with a custom /random (or anything else) URL

0 active installs v1.0 PHP + WP + Updated Mar 15, 2018
adminpostsrandomredirect
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Random Post Redirect (also with Shortcode) Safe to Use in 2026?

Generally Safe

Score 85/100

Random Post Redirect (also with Shortcode) 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 plugin "random-post-redirect-also-with-shortcode" v1.0 presents a generally good security posture based on the provided static analysis. The absence of dangerous functions, SQL injection vulnerabilities (all queries use prepared statements), and unescaped output are strong positive indicators. The plugin also has a clean vulnerability history, with no recorded CVEs.

However, there are a few areas that warrant attention. The presence of a shortcode without explicit capability checks or nonce checks, while currently having a limited attack surface (1 entry point, 0 unprotected), could become a concern if the shortcode's functionality expands or if vulnerabilities are discovered in core WordPress functions it relies on. The lack of any taint analysis flows might suggest a simple plugin, but it's also possible that the analysis was not comprehensive enough to uncover potential issues if user-supplied data were to be mishandled in unexpected ways.

Overall, the plugin appears safe for current use, with no critical or high-risk issues identified. The strengths lie in its clean code practices regarding SQL and output handling. The primary weakness is the potential for future issues arising from the shortcode's unchecked input processing, though this is not a confirmed vulnerability at this time. Vigilance is recommended, especially if the plugin is updated or its functionality changes.

Key Concerns

  • Shortcode without capability check
  • Shortcode without nonce check
Vulnerabilities
None known

Random Post Redirect (also with Shortcode) Security Vulnerabilities

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

Random Post Redirect (also with Shortcode) Code Analysis

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

Output Escaping

100% escaped3 total outputs
Attack Surface

Random Post Redirect (also with Shortcode) Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[random_post] index.php:38
WordPress Hooks 3
actioninitindex.php:14
actiontemplate_redirectindex.php:26
actionafter_switch_themeindex.php:59
Maintenance & Trust

Random Post Redirect (also with Shortcode) Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedMar 15, 2018
PHP min version
Downloads990

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Random Post Redirect (also with Shortcode) Developer Profile

dpoakaspine

9 plugins · 630 total installs

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

How We Detect Random Post Redirect (also with Shortcode)

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
button
Shortcode Output
<a href="" title=""><img src="" /><span class="button">
FAQ

Frequently Asked Questions about Random Post Redirect (also with Shortcode)