DN Shopping discounts Security & Risk Analysis

wordpress.org/plugins/dn-shopping-discounts

Shopping discounts for WooCommerce (ITA/ENG) allows to configure discounts to be applied to the WooCommerce shopping cart total based on definable pri …

10 active installs v1.0.3 PHP 5.6+ WP 5.0+ Updated Dec 7, 2024
discountdiscountsfasce-di-scontoscontiwoocommerce
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is DN Shopping discounts Safe to Use in 2026?

Generally Safe

Score 92/100

DN Shopping discounts has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The "dn-shopping-discounts" v1.0.3 plugin exhibits a generally strong security posture, with no reported vulnerabilities in its history and a clean static analysis in several key areas. The absence of dangerous functions, direct SQL queries, file operations, and external HTTP requests is commendable. Furthermore, the plugin demonstrates good practices by using prepared statements for all SQL queries. However, the static analysis does reveal some areas for concern. While the attack surface appears small with zero entry points, the fact that 65% of output is properly escaped suggests that 35% is not, leaving potential for cross-site scripting (XSS) vulnerabilities if these outputs are user-controllable. The taint analysis also identified two flows with unsanitized paths, which, although not rated as critical or high severity, represent potential security weaknesses that require further investigation. The lack of nonce and capability checks, combined with the unsanitized paths, could be exploited in conjunction with other weaknesses.

Key Concerns

  • Unsanitized path taint flows detected
  • Significant portion of output not escaped
  • No nonce checks present
  • No capability checks present
Vulnerabilities
None known

DN Shopping discounts Security Vulnerabilities

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

DN Shopping discounts Code Analysis

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

Output Escaping

65% escaped20 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
test_page (dn-shopping-discounts.php:73)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

DN Shopping discounts Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actioninitdn-shopping-discounts.php:23
actionadmin_menudn-shopping-discounts.php:24
actionsave_postdn-shopping-discounts.php:25
actionafter_setup_themedn-shopping-discounts.php:26
actionwoocommerce_cart_calculate_feesdn-shopping-discounts.php:31
actionadmin_enqueue_scriptsdn-shopping-discounts.php:41
Maintenance & Trust

DN Shopping discounts Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedDec 7, 2024
PHP min version5.6
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

DN Shopping discounts Developer Profile

digireturn

7 plugins · 350 total installs

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

How We Detect DN Shopping discounts

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/dn-shopping-discounts/css/dn-shopping-discounts.css/wp-content/plugins/dn-shopping-discounts/js/dn-shopping-discounts.js
Script Paths
/wp-content/plugins/dn-shopping-discounts/js/dn-shopping-discounts.js
Version Parameters
dn-shopping-discounts.css?ver=dn-shopping-discounts.js?ver=

HTML / DOM Fingerprints

CSS Classes
dn-floatval
HTML Comments
future implementation note:
Data Attributes
name="menu_order"name="_expense_from"name="_expense_to"name="_discount"name="_discount_type"name="dn_discounts_test_value"+1 more
Shortcode Output
<h2>Test Shopping discounts</h2><p>This page allows to test discounts rules</p><h3>Results for "<tr><td>Title</td><td width="60">Type</td><td width="100">Discount</td><td>New total</td></tr>There are no applicable discounts for
FAQ

Frequently Asked Questions about DN Shopping discounts