Random Post Shortcode Security & Risk Analysis

wordpress.org/plugins/random-post-shortcode

Random Post Shortcode and Widget

100 active installs v1.0.5 PHP + WP 4.0+ Updated Feb 22, 2022
postrandomshortcodewidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Random Post Shortcode Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 4yr ago
Risk Assessment

The "random-post-shortcode" plugin v1.0.5 exhibits a generally good security posture based on the provided static analysis. There are no known vulnerabilities (CVEs) associated with this version, and the plugin avoids dangerous functions, file operations, and external HTTP requests. All SQL queries are performed using prepared statements, which is a strong security practice. Furthermore, the absence of any critical or high severity taint analysis flows is positive.

However, a significant concern arises from the 25% rate of improperly escaped output. With 16 total outputs analyzed, this means 4 instances of unsafecaptured data could be vulnerable to Cross-Site Scripting (XSS) attacks. The lack of nonce checks and capability checks, while not directly flagged as problematic due to the limited attack surface (only one shortcode and no unprotected entry points), could become a weakness if the plugin's functionality were to expand or if new, unprotected entry points were introduced in the future. The lack of vulnerability history could indicate good development practices or simply a lack of historical auditing.

In conclusion, the plugin's strengths lie in its avoidance of common pitfalls like raw SQL and dangerous functions. The primary weakness is the insufficient output escaping, which poses an XSS risk. The limited attack surface and absence of historical vulnerabilities are mitigating factors, but the unescaped output remains a tangible security concern that should be addressed.

Key Concerns

  • Unescaped output detected (25% of 16)
  • Missing nonce checks on entry points
  • Missing capability checks on entry points
Vulnerabilities
None known

Random Post Shortcode Security Vulnerabilities

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

Random Post Shortcode Code Analysis

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

Output Escaping

25% escaped16 total outputs
Attack Surface

Random Post Shortcode Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[random-post] random-post-shortcode.php:16
WordPress Hooks 1
actionwidgets_initrandom-post-widget.php:79
Maintenance & Trust

Random Post Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested5.9.13
Last updatedFeb 22, 2022
PHP min version
Downloads12K

Community Trust

Rating60/100
Number of ratings5
Active installs100
Developer Profile

Random Post Shortcode Developer Profile

PowieT

6 plugins · 650 total installs

71
trust score
Avg Security Score
89/100
Avg Patch Time
1295 days
View full developer profile
Detection Fingerprints

How We Detect Random Post Shortcode

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

Asset Fingerprints

HTML / DOM Fingerprints

Shortcode Output
<h2>.*</h2>.*
FAQ

Frequently Asked Questions about Random Post Shortcode