
Sort Query Posts Security & Risk Analysis
wordpress.org/plugins/sort-query-postsSort posts on-the-fly without making a new SQL query
Is Sort Query Posts Safe to Use in 2026?
Generally Safe
Score 85/100Sort Query Posts has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "sort-query-posts" v1.1 plugin exhibits a strong security posture in several key areas. Static analysis reveals a remarkably small attack surface with zero identified entry points, meaning there are no exposed AJAX handlers, REST API routes, shortcodes, or cron events that could be directly triggered by an attacker. Furthermore, all identified SQL queries utilize prepared statements, and all output is properly escaped, significantly mitigating risks of SQL injection and cross-site scripting (XSS). The absence of file operations and external HTTP requests further reduces potential vulnerabilities.
However, a significant concern arises from the presence of the `create_function` dangerous function. While the taint analysis found no unsanitized flows, the use of `create_function` is a deprecated and inherently risky practice that can lead to code injection vulnerabilities if not handled with extreme care, even if no such flows are currently detected. The plugin also lacks nonce and capability checks, which, given the limited attack surface, might not present an immediate risk but would be crucial if any new entry points were introduced or if the plugin's functionality expanded.
The vulnerability history is clean, with no known CVEs, which is a positive indicator. This, combined with the strong adherence to prepared statements and output escaping, suggests a developer who understands fundamental web security principles. Nevertheless, the use of `create_function` remains a notable weakness that warrants attention and ideally, refactoring. The overall risk is low, primarily due to the limited attack surface and good practices in SQL and output handling, but the presence of a dangerous function prevents a perfect score.
Key Concerns
- Use of dangerous function create_function
- Missing nonce checks
- Missing capability checks
Sort Query Posts Security Vulnerabilities
Sort Query Posts Code Analysis
Dangerous Functions Found
Sort Query Posts Attack Surface
Maintenance & Trust
Sort Query Posts Maintenance & Trust
Maintenance Signals
Community Trust
Sort Query Posts Alternatives
Simple Custom Post Order
simple-custom-post-order
Easily reorder posts, pages, custom post types, and taxonomies with intuitive drag-and-drop sorting in the WordPress admin.
ReOrder Posts within Categories
reorder-post-within-categories
Enables manual ranking of post (and custom post) within taxonomy terms using a drag & drop grid interface.
Custom Category Post Order
custom-post-order-category
Order your post by category or custom post type by drag & drop interface.
WP Meta Sort Posts
wp-meta-sort-posts
This WordPress plugin allows blog admins to create pages with custom sorted lists of posts using simple queries specified in a shortcode.
Custom Reorder Manager
custom-reorder-manager
Reorder WordPress posts with drag & drop mechanism.
Sort Query Posts Developer Profile
2 plugins · 400 total installs
How We Detect Sort Query Posts
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/sort-query-posts/style.csssort-query-posts/style.css?ver=