Price by Quantity & Bulk Quantity Discounts for WooCommerce Security & Risk Analysis

wordpress.org/plugins/wholesale-pricing-woocommerce

Unlock advanced dynamic/tiered pricing strategies with quantity-based discounts. Optimize bulk pricing for increased savings and customer satisfaction

1K active installs v4.0.5 PHP + WP 4.4+ Updated Feb 24, 2026
dynamic-pricingdynamic-product-pricingprice-by-quantityproduct-price-by-quantitywoocommerce
99
A · Safe
CVEs total2
Unpatched0
Last CVEMar 31, 2025
Safety Verdict

Is Price by Quantity & Bulk Quantity Discounts for WooCommerce Safe to Use in 2026?

Generally Safe

Score 99/100

Price by Quantity & Bulk Quantity Discounts for WooCommerce has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Mar 31, 2025Updated 1mo ago
Risk Assessment

The "wholesale-pricing-woocommerce" v4.0.5 plugin exhibits a generally good security posture based on the static analysis. The absence of vulnerable AJAX handlers, REST API routes, cron events, and file operations significantly limits its attack surface. Furthermore, the code demonstrates a strong commitment to security with a high percentage of properly escaped outputs, presence of nonce checks, and capability checks, which are crucial for preventing unauthorized actions and XSS vulnerabilities. The taint analysis also shows no critical or high severity issues, indicating a lack of exploitable data flow vulnerabilities.

However, a notable concern arises from the SQL queries. While there is only one SQL query in total, it is not using prepared statements. This represents a potential risk for SQL injection, especially if the input used in this query is not rigorously sanitized, which the taint analysis did not fully cover. The plugin also has a history of known CVEs, specifically medium severity Cross-site Scripting vulnerabilities, even though none are currently unpatched. This historical pattern suggests a recurring weakness that, while addressed, warrants continued vigilance. The plugin's last reported vulnerability was in early 2025, indicating a recent but now patched issue.

In conclusion, the plugin is well-defended against common web vulnerabilities like XSS and unauthorized access due to its robust input sanitization and authentication checks. The primary area for improvement lies in the secure handling of SQL queries. While the historical vulnerability data shows that past issues have been addressed, it also serves as a reminder that the plugin has had exploitable flaws, and ongoing maintenance and auditing are essential to maintain a strong security posture.

Key Concerns

  • SQL query not using prepared statements
  • Previous medium severity CVEs
Vulnerabilities
2

Price by Quantity & Bulk Quantity Discounts for WooCommerce Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2025-31598medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Quantity Dynamic Pricing & Bulk Discounts for WooCommerce <= 4.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting

Mar 31, 2025 Patched in 4.0.3 (214d)
CVE-2024-9384medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Quantity Dynamic Pricing & Bulk Discounts for WooCommerce <= 3.8.0 - Reflected Cross-Site Scripting

Oct 3, 2024 Patched in 3.8.1 (1d)
Code Analysis
Analyzed Mar 16, 2026

Price by Quantity & Bulk Quantity Discounts for WooCommerce Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

88% escaped50 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<class-alg-wc-wholesale-pricing-settings-per-product> (includes\settings\class-alg-wc-wholesale-pricing-settings-per-product.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Price by Quantity & Bulk Quantity Discounts for WooCommerce Attack Surface

Entry Points11
Unprotected0

Shortcodes 11

[alg_wc_wh_pr_product_meta] includes\class-alg-wc-wholesale-pricing-core.php:97
[alg_wc_ppq_product_meta] includes\class-alg-wc-wholesale-pricing-core.php:98
[alg_wc_wholesale_pricing_table] includes\class-alg-wc-wholesale-pricing-shortcodes.php:35
[alg_wc_ppq_table] includes\class-alg-wc-wholesale-pricing-shortcodes.php:36
[alg_wc_product_wholesale_pricing_table] includes\class-alg-wc-wholesale-pricing-shortcodes.php:38
[alg_wc_product_ppq_table] includes\class-alg-wc-wholesale-pricing-shortcodes.php:39
[alg_wc_wholesale_pricing_data] includes\class-alg-wc-wholesale-pricing-shortcodes.php:41
[alg_wc_ppq_data] includes\class-alg-wc-wholesale-pricing-shortcodes.php:42
[alg_wc_product_wholesale_pricing_data] includes\class-alg-wc-wholesale-pricing-shortcodes.php:44
[alg_wc_product_ppq_data] includes\class-alg-wc-wholesale-pricing-shortcodes.php:45
[alg_wc_ppq_translate] includes\class-alg-wc-wholesale-pricing-shortcodes.php:47
WordPress Hooks 30
actionadd_meta_boxesincludes\class-alg-wc-wholesale-pricing-admin.php:28
actionadmin_initincludes\class-alg-wc-wholesale-pricing-admin.php:29
actionadmin_noticesincludes\class-alg-wc-wholesale-pricing-admin.php:30
filteralg_wc_wholesale_pricing_get_item_product_idincludes\class-alg-wc-wholesale-pricing-core.php:112
filteralg_wc_wholesale_pricing_calculate_totals_product_idincludes\class-alg-wc-wholesale-pricing-core.php:113
actionadmin_enqueue_scriptsincludes\class-alg-wc-wholesale-pricing-core.php:124
filterwoocommerce_cart_item_priceincludes\class-alg-wc-wholesale-pricing-frontend.php:35
actionwp_enqueue_scriptsincludes\class-alg-wc-wholesale-pricing-frontend.php:44
actionwoocommerce_cart_loaded_from_sessionincludes\class-alg-wc-wholesale-pricing-hooks.php:32
actionwoocommerce_before_calculate_totalsincludes\class-alg-wc-wholesale-pricing-hooks.php:33
filterwoocommerce_product_get_priceincludes\class-alg-wc-wholesale-pricing-hooks.php:34
filterwoocommerce_product_variation_get_priceincludes\class-alg-wc-wholesale-pricing-hooks.php:35
actionwoocommerce_checkout_order_processedincludes\class-alg-wc-wholesale-pricing-hooks.php:36
actionalg_wc_wholesale_pricing_settings_savedincludes\class-alg-wc-wholesale-pricing-tools.php:24
actioninitincludes\class-alg-wc-wholesale-pricing.php:86
actionbefore_woocommerce_initincludes\class-alg-wc-wholesale-pricing.php:89
actioninitincludes\class-alg-wc-wholesale-pricing.php:161
actioninitincludes\class-alg-wc-wholesale-pricing.php:164
filterwoocommerce_get_settings_pagesincludes\class-alg-wc-wholesale-pricing.php:167
actionadmin_initincludes\class-alg-wc-wholesale-pricing.php:171
actionadmin_noticesincludes\settings\class-alg-wc-settings-wholesale-pricing.php:87
actionadd_meta_boxesincludes\settings\class-alg-wc-wholesale-pricing-settings-per-product.php:27
actionsave_post_productincludes\settings\class-alg-wc-wholesale-pricing-settings-per-product.php:28
actionadmin_initincludes\settings\class-alg-wc-wholesale-pricing-settings-per-product.php:29
actionadmin_initincludes\settings\class-alg-wc-wholesale-pricing-settings-per-product.php:30
actionafter_wcfm_products_manage_tabs_contentincludes\settings\class-alg-wc-wholesale-pricing-settings-per-product.php:33
actionafter_wcfm_products_manage_meta_saveincludes\settings\class-alg-wc-wholesale-pricing-settings-per-product.php:34
actionadmin_footerincludes\settings\class-alg-wc-wholesale-pricing-settings-reports.php:154
filterwoocommerce_get_sections_alg_wc_wholesale_pricingincludes\settings\class-alg-wc-wholesale-pricing-settings-section.php:40
actionplugins_loadedwholesale-pricing-woocommerce.php:54
Maintenance & Trust

Price by Quantity & Bulk Quantity Discounts for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 24, 2026
PHP min version
Downloads46K

Community Trust

Rating96/100
Number of ratings16
Active installs1K
Developer Profile

Price by Quantity & Bulk Quantity Discounts for WooCommerce Developer Profile

WPFactory

63 plugins · 136K total installs

86
trust score
Avg Security Score
97/100
Avg Patch Time
90 days
View full developer profile
Detection Fingerprints

How We Detect Price by Quantity & Bulk Quantity Discounts 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/wholesale-pricing-woocommerce/includes/js/alg-wc-wholesale-pricing-admin.js/wp-content/plugins/wholesale-pricing-woocommerce/includes/js/alg-wc-wholesale-pricing-admin.min.js
Script Paths
/wp-content/plugins/wholesale-pricing-woocommerce/includes/js/alg-wc-wholesale-pricing-admin.js/wp-content/plugins/wholesale-pricing-woocommerce/includes/js/alg-wc-wholesale-pricing-admin.min.js
Version Parameters
wholesale-pricing-woocommerce/includes/js/alg-wc-wholesale-pricing-admin.js?ver=wholesale-pricing-woocommerce/includes/js/alg-wc-wholesale-pricing-admin.min.js?ver=

HTML / DOM Fingerprints

JS Globals
alg_wc_wholesale_pricing
Shortcode Output
[alg_wc_wh_pr_product_meta][alg_wc_ppq_product_meta]
FAQ

Frequently Asked Questions about Price by Quantity & Bulk Quantity Discounts for WooCommerce