Relations Post Types Security & Risk Analysis

wordpress.org/plugins/relation-post-types

This plugin allow to build relation between 2 custom types (posts, page, custom), very useful for manage related content on CMS type website.

200 active installs v1.3.1 PHP + WP 3.0+ Updated Jun 17, 2013
cmscustompost-typepost-typesrelation
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Relations Post Types Safe to Use in 2026?

Generally Safe

Score 85/100

Relations Post Types has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 12yr ago
Risk Assessment

The "relation-post-types" plugin version 1.3.1 presents a mixed security posture. While it boasts no known CVEs and a good percentage of SQL queries using prepared statements, several concerning code signals and taint analysis results raise flags. The presence of dangerous functions like 'unserialize' and 'create_function' is a significant risk, as these can be exploited for code injection if not handled with extreme caution and proper sanitization. Furthermore, the taint analysis reveals two high-severity flows with unsanitized paths, indicating potential for data manipulation or unauthorized access. The plugin also exposes an unprotected AJAX handler, which is a direct entry point for potential attacks. The lack of capability checks on this entry point further exacerbates the risk. While the absence of past vulnerabilities is positive, it doesn't negate the inherent risks identified in the current static analysis. The overall security is weakened by the presence of critical code signals and potential taint flows, despite a low attack surface and good SQL practices.

Key Concerns

  • Unprotected AJAX handler
  • High severity taint flows (2)
  • Dangerous function: unserialize
  • Dangerous function: create_function
  • Low output escaping percentage
  • No capability checks on entry points
Vulnerabilities
None known

Relations Post Types Security Vulnerabilities

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

Relations Post Types Code Analysis

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

Dangerous Functions Found

unserialize$config_file = unserialize(base64_decode(substr($config_file, strlen('RELATIONSPOSTTYPES'))));inc\class.admin.php:127
create_functionadd_action( 'widgets_init', create_function('', 'return register_widget("RelationsPostTypes_Widget")relations-post-types.php:91

SQL Query Safety

82% prepared17 total queries

Output Escaping

39% escaped75 total outputs
Data Flows
3 unsanitized

Data Flow Analysis

6 flows3 with unsanitized paths
check_settings (inc\class.admin.php:62)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

Relations Post Types Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_posttype-quick-searchinc\class.admin.post.php:14
WordPress Hooks 12
actionadmin_initinc\class.admin.php:16
actionadmin_menuinc\class.admin.php:17
actionsave_postinc\class.admin.post.php:10
actionadd_meta_boxesinc\class.admin.post.php:11
actionadmin_enqueue_scriptsinc\class.admin.post.php:17
filterinitinc\class.client.php:11
filterquery_varsinc\class.client.php:14
actionparse_queryinc\class.client.php:15
actiondelete_postinc\class.client.php:18
actionposts_resultsinc\class.client.php:21
actionplugins_loadedrelations-post-types.php:79
actionwidgets_initrelations-post-types.php:91
Maintenance & Trust

Relations Post Types Maintenance & Trust

Maintenance Signals

WordPress version tested3.5.2
Last updatedJun 17, 2013
PHP min version
Downloads8K

Community Trust

Rating100/100
Number of ratings1
Active installs200
Developer Profile

Relations Post Types Developer Profile

Amaury Balmer

3 plugins · 10K total installs

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

How We Detect Relations Post Types

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/relation-post-types/ressources/js/admin-post.min.js
Script Paths
/wp-content/plugins/relation-post-types/ressources/js/admin-post.min.js
Version Parameters
relation-post-types/ressources/js/admin-post.min.js?ver=

HTML / DOM Fingerprints

JS Globals
rpt
FAQ

Frequently Asked Questions about Relations Post Types