CP Related Posts Security & Risk Analysis

wordpress.org/plugins/cp-related-posts

CP Related Posts is a plugin that displays related articles on your website, manually, or by the terms in the content, title or abstract, and tags

100 active installs v1.2.0 PHP + WP 3.0.5+ Updated Nov 28, 2025
associated-pagesrelated-postsrelated-termssimilar-poststagging-posts
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is CP Related Posts Safe to Use in 2026?

Generally Safe

Score 100/100

CP Related Posts has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4mo ago
Risk Assessment

The "cp-related-posts" v1.2.0 plugin presents a mixed security posture. On the positive side, it demonstrates good practices by utilizing prepared statements for all SQL queries and a high percentage of properly escaped output. There is also a history of zero known vulnerabilities, indicating a potentially stable and well-maintained codebase. However, the presence of the `unserialize` function is a significant concern, especially when combined with two taint analysis flows identified as having unsanitized paths with high severity. This suggests a potential for remote code execution or other severe attacks if an attacker can control the data being unserialized.

While the current version has no known CVEs, the static analysis highlights critical areas that could lead to future vulnerabilities. The limited attack surface with no unprotected entry points is a strength, but the internal code signals, specifically the use of `unserialize` and the high-severity unsanitized taint flows, represent the primary security risks. The plugin's vulnerability history is a positive indicator, but it doesn't negate the immediate risks identified in the code. Therefore, while the plugin shows some good security habits, the identified high-severity taint flows associated with `unserialize` demand immediate attention.

Key Concerns

  • High severity taint flows with unsanitized paths
  • Use of dangerous function: unserialize
  • Unsanitized paths in taint analysis
Vulnerabilities
None known

CP Related Posts Security Vulnerabilities

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

CP Related Posts Code Analysis

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

Dangerous Functions Found

unserialize$cprp_tags = unserialize( $cprp_tags );cp-related-posts.php:864
unserialize$cprp_manually_related = unserialize( $cprp_manually_related );cp-related-posts.php:906
unserialize$tags_arr = unserialize( $tags_arr );cp-related-posts.php:1171
unserialize$manually_related = unserialize( $manually_related );cp-related-posts.php:1184
unserialize$post_tags = unserialize( $post_tags );cp-related-posts.php:1197
unserialize$post_tags = unserialize( $result->meta_value );cp-related-posts.php:1243
unserialize$post_tags = unserialize( $post_tags );cp-related-posts.php:1245

SQL Query Safety

100% prepared8 total queries

Output Escaping

91% escaped148 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
cprp_admin_init (cp-related-posts.php:106)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

CP Related Posts Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[cp-related-posts] cp-related-posts.php:102
WordPress Hooks 14
actioninitcp-related-posts.php:19
filterget_post_metadatacp-related-posts.php:20
filteroption_sbp_settingscp-related-posts.php:29
actioninitcp-related-posts.php:98
actionwidgets_initcp-related-posts.php:99
actionadmin_initcp-related-posts.php:105
actionenqueue_block_editor_assetscp-related-posts.php:191
actionadmin_menucp-related-posts.php:200
actionsave_postcp-related-posts.php:930
actionadmin_enqueue_scriptscp-related-posts.php:978
actionwp_enqueue_scriptscp-related-posts.php:993
filterthe_contentcp-related-posts.php:1032
filterscript_loader_tagcp-related-posts.php:1401
actionadmin_bar_menuincludes\banner.inc.php:106
Maintenance & Trust

CP Related Posts Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedNov 28, 2025
PHP min version
Downloads52K

Community Trust

Rating70/100
Number of ratings11
Active installs100
Developer Profile

CP Related Posts Developer Profile

codepeople

34 plugins · 89K total installs

75
trust score
Avg Security Score
94/100
Avg Patch Time
964 days
View full developer profile
Detection Fingerprints

How We Detect CP Related Posts

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/cp-related-posts/scripts/cprp_gutenberg.js
Script Paths
scripts/cprp_gutenberg.js
Version Parameters
cp-related-posts/scripts/cprp_gutenberg.js?ver=1.2.0

HTML / DOM Fingerprints

JS Globals
cprp_gutenberg_script
Shortcode Output
[cp-related-posts]
FAQ

Frequently Asked Questions about CP Related Posts