ELEX Woo Discount Per Country Security & Risk Analysis

wordpress.org/plugins/elex-discount-per-country

It will be a pleasant little surprise for customers if you offer a discount based on the shipping state/country they have chosen on the Checkout page.

300 active installs v1.2.0 PHP + WP 3.0.1+ Updated Feb 12, 2026
discount-based-on-shipping-countrywoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is ELEX Woo Discount Per Country Safe to Use in 2026?

Generally Safe

Score 100/100

ELEX Woo Discount Per Country 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 'elex-discount-per-country' plugin v1.2.0 demonstrates a strong security posture based on the static analysis provided. The absence of identified dangerous functions, SQL queries not using prepared statements, and a high percentage of properly escaped output are significant positive indicators. Furthermore, the plugin appears to have a very limited attack surface, with zero identified AJAX handlers, REST API routes, shortcodes, or cron events. The lack of any recorded vulnerabilities in its history further reinforces this perception of good security practices.

However, a notable area for concern is the complete absence of capability checks. While nonce checks are present, relying solely on them for security, especially if any of the zero identified entry points were to become active in the future, could be a weakness. The taint analysis revealing zero flows, while positive, also indicates that the analysis itself might be limited or that the plugin's functionality is minimal, thus not presenting complex data flow scenarios that would trigger such analysis. Overall, the plugin is currently secure based on the provided data, but the lack of capability checks is a potential oversight that could be exploited if the plugin's architecture evolves to include more exposed functionalities.

Key Concerns

  • No capability checks found
Vulnerabilities
None known

ELEX Woo Discount Per Country Security Vulnerabilities

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

ELEX Woo Discount Per Country Code Analysis

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

Output Escaping

97% escaped180 total outputs
Attack Surface

ELEX Woo Discount Per Country Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 20
actionadmin_noticeselex-discount-per-country.php:39
actionadmin_noticeselex-discount-per-country.php:52
actioninitelex-discount-per-country.php:84
actionplugins_loadedelex-discount-per-country.php:123
actionbefore_woocommerce_initelex-discount-per-country.php:126
filterwoocommerce_settings_tabs_arrayincludes\elex-discount-per-country-admin-settings.php:19
actionwoocommerce_cart_calculate_feesincludes\elex-discount-per-country-admin-settings.php:23
actionadmin_enqueue_scriptsincludes\elex-discount-per-country-admin-settings.php:24
actionadmin_noticesreview_and_troubleshoot_notify\review-and-troubleshoot-notify-class.php:20
actionadmin_initreview_and_troubleshoot_notify\review-and-troubleshoot-notify-class.php:21
actionadmin_noticestrunk\elex-discount-per-country.php:39
actionadmin_noticestrunk\elex-discount-per-country.php:52
actioninittrunk\elex-discount-per-country.php:84
actionplugins_loadedtrunk\elex-discount-per-country.php:123
actionbefore_woocommerce_inittrunk\elex-discount-per-country.php:126
filterwoocommerce_settings_tabs_arraytrunk\includes\elex-discount-per-country-admin-settings.php:19
actionwoocommerce_cart_calculate_feestrunk\includes\elex-discount-per-country-admin-settings.php:23
actionadmin_enqueue_scriptstrunk\includes\elex-discount-per-country-admin-settings.php:24
actionadmin_noticestrunk\review_and_troubleshoot_notify\review-and-troubleshoot-notify-class.php:20
actionadmin_inittrunk\review_and_troubleshoot_notify\review-and-troubleshoot-notify-class.php:21
Maintenance & Trust

ELEX Woo Discount Per Country Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 12, 2026
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs300
Developer Profile

ELEX Woo Discount Per Country Developer Profile

ELEXtensions

22 plugins · 28K total installs

87
trust score
Avg Security Score
98/100
Avg Patch Time
53 days
View full developer profile
Detection Fingerprints

How We Detect ELEX Woo Discount Per Country

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/elex-discount-per-country/assets/css/elex-discount-per-country-admin.css/wp-content/plugins/elex-discount-per-country/assets/js/elex-discount-per-country-admin.js/wp-content/plugins/elex-discount-per-country/assets/js/elex-discount-per-country-frontend.js
Script Paths
/wp-content/plugins/elex-discount-per-country/assets/js/elex-discount-per-country-admin.js/wp-content/plugins/elex-discount-per-country/assets/js/elex-discount-per-country-frontend.js
Version Parameters
elex-discount-per-country/assets/css/elex-discount-per-country-admin.css?ver=elex-discount-per-country/assets/js/elex-discount-per-country-admin.js?ver=elex-discount-per-country/assets/js/elex-discount-per-country-frontend.js?ver=

HTML / DOM Fingerprints

CSS Classes
elex-discount-per-country-wrapper
HTML Comments
<!-- ELEX DPC Notice -->
Data Attributes
data-elex-dpc-countrydata-elex-dpc-state
JS Globals
ELEXDPCAdminELEXDPCFrontend
FAQ

Frequently Asked Questions about ELEX Woo Discount Per Country