Discount for WooCommerce Security & Risk Analysis

wordpress.org/plugins/discount-for-woocommerce

Easily make discount for WooCommerce for all users / just for logged in users / different % for all and logged in users.

10 active installs v1.0.2 PHP 7.2+ WP 5.4.2+ Updated Jul 22, 2020
discountexchange-ratepricesalewoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Discount for WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 5yr ago
Risk Assessment

The plugin "discount-for-woocommerce" v1.0.2 exhibits a generally strong security posture based on the provided static analysis. The absence of any identified vulnerabilities in its history, combined with the fact that all SQL queries use prepared statements and there are no apparent dangerous functions, file operations, or external HTTP requests, suggests good development practices. The limited attack surface with no unprotected entry points is also a positive indicator. However, a notable concern is the low percentage of properly escaped output, with two-thirds of outputs potentially leading to cross-site scripting (XSS) vulnerabilities if they handle user-supplied data. The lack of nonce checks on AJAX handlers, while there are no AJAX handlers reported, means if any are added in future versions without proper security, this would be a critical oversight. Similarly, the absence of capability checks on REST API routes, again, while none are reported, signifies a potential area for future vulnerabilities if not addressed. The vulnerability history being completely clear is reassuring, but the overall security is significantly undermined by the potential for XSS due to insufficient output escaping.

Key Concerns

  • Insufficient output escaping
Vulnerabilities
None known

Discount for WooCommerce Security Vulnerabilities

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

Discount for WooCommerce Release Timeline

v1.0.2Current
v1.0.1
v1.0
Code Analysis
Analyzed Apr 16, 2026

Discount for WooCommerce Code Analysis

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

Output Escaping

33% escaped6 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

1 flows
<index> (index.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Discount for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_menuindex.php:69
actionplugins_loadedindex.php:150
filterwoocommerce_product_get_priceindex.php:160
filterwoocommerce_product_get_priceindex.php:168
Maintenance & Trust

Discount for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested5.4.19
Last updatedJul 22, 2020
PHP min version7.2
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Discount for WooCommerce Developer Profile

BArS

7 plugins · 6K total installs

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

How We Detect Discount for WooCommerce

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

Asset Fingerprints

HTML / DOM Fingerprints

Data Attributes
name="add_form_discount_price"name="dpw_discount_logged"name="dpw_discount_all"
FAQ

Frequently Asked Questions about Discount for WooCommerce