Shaun's WP Query Shortcode Security & Risk Analysis

wordpress.org/plugins/shauns-wp-query-shortcode

This extensible plugin allows you to run a custom WP_Query using a simple shortcode, then display the results using compatible nested shortcodes.

10 active installs v1.2 PHP + WP 3.0+ Updated Oct 20, 2012
custompagepostquerytype
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Shaun's WP Query Shortcode Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 13yr ago
Risk Assessment

The security posture of the 'shauns-wp-query-shortcode' plugin v1.2 appears to be a mixed bag, showing some good practices alongside significant areas of concern. The plugin does not utilize dangerous functions, performs all its SQL queries using prepared statements, and has no recorded history of vulnerabilities. This suggests a developer who is aware of fundamental security best practices regarding database interactions and known exploits. However, the complete lack of output escaping for its single identified output is a major red flag. This means any data rendered to the user through this output is potentially vulnerable to cross-site scripting (XSS) attacks if it originates from an untrusted source.

The static analysis revealed two shortcodes as the primary entry points, with none of them having explicit authentication or capability checks. While the total entry points are low, the absence of capability checks on shortcodes, especially if they can process user-supplied data or interact with sensitive parts of WordPress, is a concern. The taint analysis yielded no specific flows, which is positive but could also indicate that the analysis itself was limited or that the plugin's interactions with potentially tainted data are not being thoroughly tracked in this specific report.

Given the lack of vulnerability history, it's difficult to draw definitive conclusions about past security practices beyond the current analysis. However, the current version demonstrates a clear weakness in output sanitization and a potential for privilege escalation or unauthorized actions via the shortcodes if they handle user input without proper validation or authorization. The developer has a strong foundation with SQL and avoids dangerous functions, but the output escaping and capability checks on shortcodes require immediate attention to improve the overall security.

Key Concerns

  • Unescaped output
  • Shortcodes without capability checks
Vulnerabilities
None known

Shaun's WP Query Shortcode Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Shaun's WP Query Shortcode Release Timeline

No version history available.
Code Analysis
Analyzed Apr 16, 2026

Shaun's WP Query Shortcode Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

Shaun's WP Query Shortcode Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[wpquery] shauns-wp-query-shortcode.php:28
[wpq_index] shauns-wp-query-shortcode.php:152
Maintenance & Trust

Shaun's WP Query Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedOct 20, 2012
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

Shaun's WP Query Shortcode Developer Profile

Shaun Scovil

4 plugins · 130 total installs

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

How We Detect Shaun's WP Query Shortcode

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
related-pages
JS Globals
shauns_wp_query
Shortcode Output
<ul class="related-pages"><li><a href=""></a></li></ul>
FAQ

Frequently Asked Questions about Shaun's WP Query Shortcode