Posts 2 Posts Relationships Security & Risk Analysis

wordpress.org/plugins/posts-2-posts-relationships

Efficient many-to-many connections between posts, pages and custom post types.

40 active installs v1.0.0 PHP 5.5+ WP 4.7+ Updated Jul 19, 2021
custom-post-typesmany-to-manyposts-2-postsposts-relationshipsposts-to-posts
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Posts 2 Posts Relationships Safe to Use in 2026?

Generally Safe

Score 85/100

Posts 2 Posts Relationships 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 "posts-2-posts-relationships" plugin v1.0.0 exhibits a generally good security posture with some notable areas of concern. The plugin demonstrates strong adherence to secure coding practices, with a high percentage of SQL queries utilizing prepared statements and a large majority of output being properly escaped. The absence of file operations, external HTTP requests, and recorded vulnerabilities in its history are all positive indicators. However, a significant concern arises from the presence of an unprotected AJAX handler, which represents a direct entry point for potential attacks without proper authentication or authorization checks. While the plugin has a clean vulnerability history, the single unprotected AJAX handler is a critical oversight that could be exploited if an attacker can trigger it. The bundled Select2 library, being an older version (v3.5.2), might also present a potential risk if vulnerabilities exist in that specific version. Overall, the plugin has a solid foundation in secure coding but requires immediate attention to address the unprotected AJAX endpoint.

Key Concerns

  • Unprotected AJAX handler detected
  • Bundled outdated library (Select2 v3.5.2)
Vulnerabilities
None known

Posts 2 Posts Relationships Security Vulnerabilities

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

Posts 2 Posts Relationships Code Analysis

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

Bundled Libraries

Select23.5.2

SQL Query Safety

95% prepared21 total queries

Output Escaping

92% escaped158 total outputs
Attack Surface
1 unprotected

Posts 2 Posts Relationships Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_p2p_relationshipsposts-2-posts-relationships.php:75
WordPress Hooks 8
actionadmin_enqueue_scriptsposts-2-posts-relationships.php:61
actionsave_postposts-2-posts-relationships.php:64
actiondeleted_postposts-2-posts-relationships.php:65
actiontransition_post_statusposts-2-posts-relationships.php:66
actionadmin_menuposts-2-posts-relationships.php:69
actionadd_meta_boxesposts-2-posts-relationships.php:72
filterposts_whereposts-2-posts-relationships.php:81
filterposts_orderbyposts-2-posts-relationships.php:82
Maintenance & Trust

Posts 2 Posts Relationships Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedJul 19, 2021
PHP min version5.5
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs40
Developer Profile

Posts 2 Posts Relationships Developer Profile

wp-centrics

5 plugins · 3K total installs

97
trust score
Avg Security Score
95/100
Avg Patch Time
1 days
View full developer profile
Detection Fingerprints

How We Detect Posts 2 Posts Relationships

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/posts-2-posts-relationships/css/p2p-relationships-admin.css/wp-content/plugins/posts-2-posts-relationships/js/p2p-relationships-admin.js/wp-content/plugins/posts-2-posts-relationships/js/p2p-relationships-admin-edit.js
Script Paths
/wp-content/plugins/posts-2-posts-relationships/js/p2p-relationships-admin.js/wp-content/plugins/posts-2-posts-relationships/js/p2p-relationships-admin-edit.js
Version Parameters
posts-2-posts-relationships/css/p2p-relationships-admin.css?ver=posts-2-posts-relationships/js/p2p-relationships-admin.js?ver=posts-2-posts-relationships/js/p2p-relationships-admin-edit.js?ver=

HTML / DOM Fingerprints

CSS Classes
p2p-relationship-box
HTML Comments
<!-- P2P Relationships Admin Settings --><!-- P2P Relationships Admin Edit -->
Data Attributes
data-object-typedata-object-namedata-relationdata-box-titledata-ui-modedata-box-context+5 more
JS Globals
p2p_relationships_adminp2p_relationships_admin_edit
REST Endpoints
/wp-json/p2p_relationships/v1/settings/wp-json/p2p_relationships/v1/relationship
FAQ

Frequently Asked Questions about Posts 2 Posts Relationships