WPC Price by Quantity for WooCommerce Security & Risk Analysis

wordpress.org/plugins/wpc-price-by-quantity

Offering quantity-based prices would be one of the most effective and powerful methods to urge buyers with very few convincing actions needed.

1K active installs v5.3.8 PHP + WP 4.0+ Updated Mar 3, 2026
quantitytiered-pricingvolume-pricingwoocommercewpc
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WPC Price by Quantity for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

WPC Price by Quantity for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1mo ago
Risk Assessment

The plugin 'wpc-price-by-quantity' v5.3.8 demonstrates a generally strong security posture based on the provided static analysis. The absence of any known vulnerabilities in its history is a significant positive indicator. The plugin also adheres to good practices by utilizing prepared statements for all SQL queries and a high percentage of proper output escaping. Furthermore, the presence of nonce and capability checks on its entry points, including all AJAX handlers, suggests a thoughtful approach to access control.

However, there are a few areas that warrant attention. The use of the `unserialize` function, while not immediately indicative of a vulnerability in this context, is a known risk if the serialized data originates from an untrusted source. While the taint analysis did not uncover any unsanitized flows, the mere presence of `unserialize` is a code signal that requires careful handling and validation of the input it processes. The plugin also makes external HTTP requests, which could potentially be exploited if the endpoints it communicates with are compromised or if the requests themselves are not properly secured.

In conclusion, 'wpc-price-by-quantity' v5.3.8 appears to be a relatively secure plugin with a clean vulnerability history. Its adherence to prepared statements and output escaping are commendable. The primary concern lies with the use of `unserialize`, which, though not exploited here, represents a potential attack vector. The external HTTP requests also introduce a minor risk. Overall, the plugin's strengths outweigh its weaknesses, but the `unserialize` function should be monitored.

Key Concerns

  • Use of unserialize function
  • External HTTP requests
Vulnerabilities
None known

WPC Price by Quantity for WooCommerce Security Vulnerabilities

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

WPC Price by Quantity for WooCommerce Code Analysis

Dangerous Functions
3
Raw SQL Queries
0
0 prepared
Unescaped Output
26
288 escaped
Nonce Checks
10
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:111
unserialize$plugins = unserialize( $response['body'] );includes\dashboard\wpc-dashboard.php:189
unserialize$plugins = unserialize( $response['body'] );includes\kit\wpc-kit.php:98

Output Escaping

92% escaped314 total outputs
Data Flows
All sanitized

Data Flow Analysis

3 flows
ajax_export (includes\dashboard\wpc-dashboard.php:225)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WPC Price by Quantity for WooCommerce Attack Surface

Entry Points9
Unprotected0

AJAX Handlers 8

authwp_ajax_wpcpq_add_role_priceincludes\class-backend.php:29
authwp_ajax_wpcpq_search_termincludes\class-backend.php:32
authwp_ajax_wpcpq_overviewincludes\class-backend.php:52
authwp_ajax_wpc_get_pluginsincludes\dashboard\wpc-dashboard.php:19
authwp_ajax_wpc_get_suggestionincludes\dashboard\wpc-dashboard.php:20
authwp_ajax_wpc_exportincludes\dashboard\wpc-dashboard.php:21
authwp_ajax_wpc_importincludes\dashboard\wpc-dashboard.php:22
authwp_ajax_wpc_get_essential_kitincludes\kit\wpc-kit.php:22

Shortcodes 1

[wpcpq] includes\class-frontend.php:23
WordPress Hooks 39
actioninitincludes\class-backend.php:17
actionadmin_enqueue_scriptsincludes\class-backend.php:18
actionadmin_initincludes\class-backend.php:21
actionadmin_menuincludes\class-backend.php:22
filterplugin_action_linksincludes\class-backend.php:25
filterplugin_row_metaincludes\class-backend.php:26
filterwoocommerce_product_data_tabsincludes\class-backend.php:35
actionwoocommerce_product_data_panelsincludes\class-backend.php:36
actionwoocommerce_product_after_variable_attributesincludes\class-backend.php:39
actionwpcvd_duplicatedincludes\class-backend.php:42
actionwpcvb_bulk_update_variationincludes\class-backend.php:45
filtermanage_edit-product_columnsincludes\class-backend.php:48
actionmanage_product_posts_custom_columnincludes\class-backend.php:49
filterwoocommerce_product_export_meta_valueincludes\class-backend.php:55
filterwoocommerce_product_import_pre_insert_product_objectincludes\class-backend.php:58
actionwoocommerce_before_calculate_totalsincludes\class-cart.php:18
actionwoocommerce_before_mini_cart_contentsincludes\class-cart.php:19
filterwoocommerce_cart_item_priceincludes\class-cart.php:20
filterwoocommerce_ajax_add_order_item_metaincludes\class-cart.php:23
actionwp_enqueue_scriptsincludes\class-frontend.php:17
filterwoocommerce_product_price_classincludes\class-frontend.php:20
actionwoocommerce_before_add_to_cart_buttonincludes\class-frontend.php:25
actionwoocommerce_before_add_to_cart_buttonincludes\class-frontend.php:29
actionwoocommerce_after_add_to_cart_buttonincludes\class-frontend.php:32
actionwoocommerce_single_product_summaryincludes\class-frontend.php:35
actionwoocommerce_single_product_summaryincludes\class-frontend.php:38
actionwoocommerce_single_product_summaryincludes\class-frontend.php:41
actionwoocommerce_single_product_summaryincludes\class-frontend.php:44
actionwoocommerce_after_single_product_summaryincludes\class-frontend.php:47
filterwoocommerce_available_variationincludes\class-frontend.php:52
actionwoocommerce_before_variations_formincludes\class-frontend.php:53
filterwpcsm_locationsincludes\class-frontend.php:56
actionadmin_enqueue_scriptsincludes\dashboard\wpc-dashboard.php:17
actionadmin_menuincludes\dashboard\wpc-dashboard.php:18
actionbefore_woocommerce_initincludes\hpos.php:7
actionadmin_enqueue_scriptsincludes\kit\wpc-kit.php:20
actionadmin_menuincludes\kit\wpc-kit.php:21
actionplugins_loadedwpc-price-by-quantity.php:36
actionadmin_noticeswpc-price-by-quantity.php:40
Maintenance & Trust

WPC Price by Quantity for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 3, 2026
PHP min version
Downloads48K

Community Trust

Rating100/100
Number of ratings8
Active installs1K
Developer Profile

WPC Price by Quantity 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 Price by Quantity 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-price-by-quantity/assets/css/backend.css/wp-content/plugins/wpc-price-by-quantity/assets/css/frontend.css/wp-content/plugins/wpc-price-by-quantity/assets/js/backend.js/wp-content/plugins/wpc-price-by-quantity/assets/js/frontend.js
Script Paths
/wp-content/plugins/wpc-price-by-quantity/assets/js/backend.js/wp-content/plugins/wpc-price-by-quantity/assets/js/frontend.js
Version Parameters
wpc-price-by-quantity/assets/css/backend.css?ver=wpc-price-by-quantity/assets/css/frontend.css?ver=wpc-price-by-quantity/assets/js/backend.js?ver=wpc-price-by-quantity/assets/js/frontend.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpcpq_settingswpcpq-variation-settingswpcpq-variation-wrap
HTML Comments
<!-- Price by Quantity --><!-- WPC Price by Quantity -->
Data Attributes
data-wpcpq-product-iddata-wpcpq-variation-id
JS Globals
wpcpq_params
FAQ

Frequently Asked Questions about WPC Price by Quantity for WooCommerce