WP Meta Sort Posts Security & Risk Analysis

wordpress.org/plugins/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.

20 active installs v0.9 PHP + WP + Updated Jun 25, 2012
custom-fieldsmetapostsquery-varssort
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is WP Meta Sort Posts Safe to Use in 2026?

Generally Safe

Score 85/100

WP Meta Sort Posts 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 wp-meta-sort-posts plugin v0.9 presents a mixed security posture. On the positive side, the plugin exhibits good practices by avoiding dangerous functions, using prepared statements exclusively for SQL queries, and having no known vulnerabilities or CVEs. The static analysis also shows a limited attack surface, with all entry points appearing to be protected by authentication. Furthermore, there are no external HTTP requests or file operations, which are common vectors for exploitation.

However, several concerns arise from the static analysis. The most significant is the 44% rate of improperly escaped output. This could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is not properly sanitized before being displayed. The taint analysis also revealed one flow with an unsanitized path, which, while not critical or high severity in this instance, points to a potential for issues if the plugin's functionality were to evolve or if different inputs were processed. The complete absence of nonce checks and capability checks, while not immediately exploitable given the limited attack surface and apparent authentication, represents a missed opportunity for robust security and could become a problem if new, unprotected entry points were added in the future.

In conclusion, while the plugin has a clean vulnerability history and uses prepared statements, the significant percentage of unescaped output is a notable weakness that could expose users to XSS attacks. The presence of an unsanitized path in the taint analysis also warrants attention. The lack of nonce and capability checks, while not a current critical flaw, indicates an area where security could be further hardened. Overall, the plugin is relatively safe due to its limited scope and clean history, but the output escaping and taint flow issues require remediation for a more secure implementation.

Key Concerns

  • Unescaped output detected (44%)
  • Taint flow with unsanitized path
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

WP Meta Sort Posts Security Vulnerabilities

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

WP Meta Sort Posts Code Analysis

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

Output Escaping

44% escaped25 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<msp-options> (msp-options.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP Meta Sort Posts Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[msp] wp-meta-sort-posts.php:152
WordPress Hooks 2
actionswitch_themewp-meta-sort-posts.php:151
actionadmin_menuwp-meta-sort-posts.php:156
Maintenance & Trust

WP Meta Sort Posts Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedJun 25, 2012
PHP min version
Downloads4K

Community Trust

Rating0/100
Number of ratings0
Active installs20
Developer Profile

WP Meta Sort Posts Developer Profile

jasonpitts

1 plugin · 20 total installs

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

How We Detect WP Meta Sort Posts

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
msp-sort-postspost-nav
HTML Comments
<!-- Start the Loop. --><!-- Stop The Loop (but note the "else:" - see next line). --><!-- The very first "if" tested to see if there were any Posts to --><!-- display. This "else" part tells what do if there weren't any. -->+1 more
Data Attributes
id="msp-sort"
Shortcode Output
<!-- Start the Loop. -->
FAQ

Frequently Asked Questions about WP Meta Sort Posts