Stock Dependencies for WooCommerce Security & Risk Analysis

wordpress.org/plugins/wc-stock-dependencies

Make your products' availability and stock dependent on the inventory of other products in your WooCommerce store.

100 active installs v2.0.0 PHP 7.0+ WP 5.0+ Updated Oct 11, 2025
dependencygroupinventoryproductwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Stock Dependencies for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Stock Dependencies for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7mo ago
Risk Assessment

The "wc-stock-dependencies" v2.0.0 plugin exhibits a generally strong security posture based on the provided static analysis. A significant strength is the complete absence of known CVEs, indicating a history of responsible development or minimal exposure to common vulnerabilities. Furthermore, all SQL queries utilize prepared statements, mitigating the risk of SQL injection. The plugin also demonstrates some attention to security with the inclusion of nonce and capability checks, suggesting an awareness of WordPress security best practices.

However, there are areas for improvement. The most notable concern is the low percentage (25%) of properly escaped output. This indicates a potential risk of Cross-Site Scripting (XSS) vulnerabilities, where user-supplied data displayed on the frontend might not be adequately sanitized, allowing attackers to inject malicious scripts. While the attack surface appears to be zero based on the listed entry points, and taint analysis found no issues, the lack of comprehensive output sanitization remains a tangible risk. The plugin's vulnerability history being clean is positive, but it doesn't negate the findings in the static analysis regarding output escaping.

In conclusion, the plugin is not overtly insecure, with good practices in place for database interaction and authentication checks. Nevertheless, the insufficient output escaping presents a clear and actionable security risk that should be addressed to achieve a more robust security profile. The absence of known vulnerabilities is encouraging, but proactive measures against potential XSS are crucial.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Stock Dependencies for WooCommerce Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Stock Dependencies for WooCommerce Release Timeline

v2.0.0Current
v1.6.2
v1.6.1
v1.6
v1.5
v1.4
v1.3.1
v1.3
v1.2.1
v1.2
v1.1.2
v1.1.1
v1.1
v1.0
Code Analysis
Analyzed Mar 16, 2026

Stock Dependencies for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
17 prepared
Unescaped Output
12
4 escaped
Nonce Checks
2
Capability Checks
2
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

100% prepared17 total queries

Output Escaping

25% escaped16 total outputs
Attack Surface

Stock Dependencies for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 19
actionbefore_woocommerce_initwc-stock-dependencies.php:22
actionadmin_menuwc-stock-dependencies.php:39
actionwoocommerce_product_options_inventory_product_datawc-stock-dependencies.php:40
actionwoocommerce_variation_options_pricingwc-stock-dependencies.php:41
actionwoocommerce_admin_process_product_objectwc-stock-dependencies.php:42
actionwoocommerce_save_product_variationwc-stock-dependencies.php:43
actionwoocommerce_product_get_stock_quantitywc-stock-dependencies.php:44
actionwoocommerce_product_variation_get_stock_quantitywc-stock-dependencies.php:45
actionwoocommerce_before_save_order_itemswc-stock-dependencies.php:46
actionwoocommerce_restock_refunded_itemwc-stock-dependencies.php:47
actionwoocommerce_order_status_cancelledwc-stock-dependencies.php:48
actionwoocommerce_after_order_itemmetawc-stock-dependencies.php:49
filterwoocommerce_product_is_in_stockwc-stock-dependencies.php:50
filterwoocommerce_variation_is_in_stockwc-stock-dependencies.php:51
filterwoocommerce_product_get_stock_statuswc-stock-dependencies.php:52
filterwoocommerce_product_variation_get_stock_statuswc-stock-dependencies.php:53
filterwoocommerce_reduce_order_stockwc-stock-dependencies.php:54
filterwoocommerce_hidden_order_itemmetawc-stock-dependencies.php:55
actionadmin_enqueue_scriptswc-stock-dependencies.php:57
Maintenance & Trust

Stock Dependencies for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 11, 2025
PHP min version7.0
Downloads6K

Community Trust

Rating92/100
Number of ratings9
Active installs100
Developer Profile

Stock Dependencies for WooCommerce Developer Profile

KevinMcCall

1 plugin · 100 total installs

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

How We Detect Stock Dependencies 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/wc-stock-dependencies/assets/js/wc-stock-dependencies.js/wp-content/plugins/wc-stock-dependencies/assets/css/wc-stock-dependencies.css
Script Paths
/wp-content/plugins/wc-stock-dependencies/assets/js/wc-stock-dependencies.js
Version Parameters
wc-stock-dependencies/assets/js/wc-stock-dependencies.js?ver=wc-stock-dependencies/assets/css/wc-stock-dependencies.css?ver=

HTML / DOM Fingerprints

CSS Classes
sdwc_product_stock_dependencysdwc_variation_stock_dependency
Data Attributes
sdwc_product_stock_dependencysdwc_variation_stock_dependency
FAQ

Frequently Asked Questions about Stock Dependencies for WooCommerce