WPC Custom Related Products for WooCommerce Security & Risk Analysis

wordpress.org/plugins/wpc-custom-related-products

WPC Custom Related Products allows you to choose custom related products for each product.

1K active installs v3.2.3 PHP + WP 4.0+ Updated Mar 15, 2026
custom-relatedrelatedwoocommercewpc
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WPC Custom Related Products for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

WPC Custom Related Products for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 19d ago
Risk Assessment

The "wpc-custom-related-products" v3.2.3 plugin exhibits a generally strong security posture with several positive indicators. The use of prepared statements for all SQL queries and a high percentage of properly escaped output suggest good development practices in preventing common vulnerabilities like SQL injection and XSS. The absence of any recorded CVEs or bundled libraries further contributes to this positive outlook, indicating a likely mature and well-maintained codebase.

However, there are areas of concern that temper this otherwise positive assessment. The presence of two AJAX handlers without authentication checks represents a significant potential attack vector. While the taint analysis did not reveal critical or high severity issues, the single flow with unsanitized paths warrants attention. The use of the `unserialize` function, even without immediate exploitability shown in the analysis, is inherently risky and can lead to deserialization vulnerabilities if not handled with extreme care, especially when dealing with user-controlled input.

In conclusion, while the plugin benefits from robust SQL handling and output escaping, the unprotected AJAX endpoints and the presence of `unserialize` are notable weaknesses. The lack of past vulnerabilities is a positive sign, but it doesn't negate the immediate risks identified in the static analysis. These risks, though not rated as critical in the current analysis, could be exploited in conjunction with other factors or evolve with future WordPress or PHP updates.

Key Concerns

  • AJAX handlers without auth checks
  • Dangerous function unserialize present
  • Flow with unsanitized paths
Vulnerabilities
None known

WPC Custom Related Products for WooCommerce Security Vulnerabilities

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

WPC Custom Related Products for WooCommerce Code Analysis

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

Dangerous Functions Found

unserialize$plugins = unserialize( $response['body'] );includes\dashboard\wpc-dashboard.php:101
unserialize$plugins = unserialize( $response['body'] );includes\dashboard\wpc-dashboard.php:179
unserialize$plugins = unserialize( $response['body'] );includes\kit\wpc-kit.php:98

SQL Query Safety

100% prepared2 total queries

Output Escaping

97% escaped209 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

6 flows1 with unsanitized paths
ajax_get_search_results (wpc-custom-related-products.php:702)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

WPC Custom Related Products for WooCommerce Attack Surface

Entry Points8
Unprotected2

AJAX Handlers 8

authwp_ajax_wpc_get_pluginsincludes\dashboard\wpc-dashboard.php:9
authwp_ajax_wpc_get_suggestionincludes\dashboard\wpc-dashboard.php:10
authwp_ajax_wpc_exportincludes\dashboard\wpc-dashboard.php:11
authwp_ajax_wpc_importincludes\dashboard\wpc-dashboard.php:12
authwp_ajax_wpc_get_essential_kitincludes\kit\wpc-kit.php:22
authwp_ajax_woocr_get_search_resultswpc-custom-related-products.php:82
authwp_ajax_woocr_add_rulewpc-custom-related-products.php:83
authwp_ajax_woocr_search_termwpc-custom-related-products.php:84
WordPress Hooks 25
actionadmin_enqueue_scriptsincludes\dashboard\wpc-dashboard.php:7
actionadmin_menuincludes\dashboard\wpc-dashboard.php:8
actionbefore_woocommerce_initincludes\hpos.php:7
actionadmin_enqueue_scriptsincludes\kit\wpc-kit.php:20
actionadmin_menuincludes\kit\wpc-kit.php:21
actionadmin_initincludes\log\wpc-log.php:6
actionplugins_loadedwpc-custom-related-products.php:39
actionadmin_noticeswpc-custom-related-products.php:43
actioninitwpc-custom-related-products.php:67
actionadmin_initwpc-custom-related-products.php:70
filterpre_update_optionwpc-custom-related-products.php:71
actionadmin_menuwpc-custom-related-products.php:72
actionadmin_enqueue_scriptswpc-custom-related-products.php:75
filterplugin_action_linkswpc-custom-related-products.php:78
filterplugin_row_metawpc-custom-related-products.php:79
filterwoocommerce_product_data_tabswpc-custom-related-products.php:87
actionwoocommerce_product_data_panelswpc-custom-related-products.php:88
actionwoocommerce_process_product_metawpc-custom-related-products.php:89
filterwoocommerce_product_related_posts_shufflewpc-custom-related-products.php:92
filterwoocommerce_related_productswpc-custom-related-products.php:93
filterwoocommerce_output_related_products_argswpc-custom-related-products.php:94
filterwoocr_related_products_before_limitwpc-custom-related-products.php:98
filterpre_get_postswpc-custom-related-products.php:103
actionpre_get_postswpc-custom-related-products.php:107
actionpre_get_postswpc-custom-related-products.php:111
Maintenance & Trust

WPC Custom Related Products for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 15, 2026
PHP min version
Downloads29K

Community Trust

Rating100/100
Number of ratings1
Active installs1K
Developer Profile

WPC Custom Related Products for WooCommerce Developer Profile

WPClever

71 plugins · 441K total installs

87
trust score
Avg Security Score
99/100
Avg Patch Time
68 days
View full developer profile
Detection Fingerprints

How We Detect WPC Custom Related Products for WooCommerce

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wpc-custom-related-products/assets/css/woocr-backend.css/wp-content/plugins/wpc-custom-related-products/assets/js/woocr-backend.js
Script Paths
/wp-content/plugins/wpc-custom-related-products/assets/js/woocr-backend.js
Version Parameters
wpc-custom-related-products/assets/css/woocr-backend.css?ver=wpc-custom-related-products/assets/js/woocr-backend.js?ver=

HTML / DOM Fingerprints

CSS Classes
woocr-related-products-settings
HTML Comments
<!-- WPC Custom Related Products for WooCommerce -->
FAQ

Frequently Asked Questions about WPC Custom Related Products for WooCommerce