
Posts 2 Posts Security & Risk Analysis
wordpress.org/plugins/posts-to-postsEfficient many-to-many connections between posts, pages, custom post types, users.
Is Posts 2 Posts Safe to Use in 2026?
Generally Safe
Score 100/100Posts 2 Posts has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The posts-to-posts plugin, version 1.7.8, exhibits a generally strong security posture based on the provided static analysis and vulnerability history. The plugin effectively protects its single AJAX entry point with nonce and capability checks, and there are no public REST API routes, shortcodes, or cron events that could serve as attack vectors. The absence of known CVEs and a clean vulnerability history further indicate a well-maintained and secure codebase.
However, there are areas for improvement. The single SQL query present is not utilizing prepared statements, which poses a moderate risk of SQL injection, especially if user input is directly incorporated into this query. Additionally, a significant portion of output escaping (50%) is not properly implemented, creating a risk of Cross-Site Scripting (XSS) vulnerabilities. The presence of a file operation also warrants attention, though without further context, its specific risk is difficult to assess.
In conclusion, while the plugin benefits from robust access control on its entry points and a clear history of security, the unescaped outputs and raw SQL query represent tangible vulnerabilities. Addressing these would elevate the plugin's security to a more comprehensive level.
Key Concerns
- Raw SQL query without prepared statements
- 50% of outputs not properly escaped
Posts 2 Posts Security Vulnerabilities
Posts 2 Posts Code Analysis
SQL Query Safety
Output Escaping
Posts 2 Posts Attack Surface
AJAX Handlers 1
WordPress Hooks 19
Maintenance & Trust
Posts 2 Posts Maintenance & Trust
Maintenance Signals
Community Trust
Posts 2 Posts Alternatives
Posts 2 Posts Relationships
posts-2-posts-relationships
Efficient many-to-many connections between posts, pages and custom post types.
MB Relationships
mb-relationships
A lightweight solution for creating relationships between posts, terms and users in WordPress.
Custom Post Type Privacy
custom-post-type-privacy
Stable Tag 0.3 Custom Post Type Privacy allows WordPress authors to grant access to users and groups of users across all posts, pages and custom post …
Native Content Relationships
native-content-relationships
Add first-class relationships between posts, users, and terms using a fast, structured, and scalable architecture.
Custom Post Type UI
custom-post-type-ui
Admin UI for creating custom content types like post types and taxonomies
Posts 2 Posts Developer Profile
20 plugins · 28K total installs
How We Detect Posts 2 Posts
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/posts-to-posts/box.css/wp-content/plugins/posts-to-posts/mustache.js/wp-content/plugins/posts-to-posts/box.js/wp-content/plugins/posts-to-posts/box.jsposts-to-posts/box.css?ver=posts-to-posts/box.js?ver=HTML / DOM Fingerprints
p2p-noticep2p-boxdata-p2p_typedata-duplicate_connectionsdata-cardinalitydata-directionP2PAdminL10nP2P_BOX_NONCE