Calculate Prices based on Distance For WooCommerce Security & Risk Analysis

wordpress.org/plugins/calculate-prices-based-on-distance-for-woocommerce

The best WooCommerce Distance Rate Shipping alternative. Secure delivery fee calculation by KM/Mile via Google Maps. Supports Block Checkout & Del …

300 active installs v1.3.6 PHP 7.4+ WP 6.6+ Updated Feb 21, 2026
calculate-shipping-by-distancedistance-rate-shippinggoogle-maps-shippinglocal-deliverywoocommerce-delivery-plugin
99
A · Safe
CVEs total1
Unpatched0
Last CVEMay 7, 2025
Safety Verdict

Is Calculate Prices based on Distance For WooCommerce Safe to Use in 2026?

Generally Safe

Score 99/100

Calculate Prices based on Distance For WooCommerce has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: May 7, 2025Updated 1mo ago
Risk Assessment

The plugin "calculate-prices-based-on-distance-for-woocommerce" version 1.3.6 exhibits a mixed security posture. While it demonstrates good practices like using prepared statements for all SQL queries and has no known critical or high-severity vulnerabilities currently unpatched, there are significant concerns. A substantial portion of its attack surface, specifically 4 out of 7 AJAX handlers, lack authentication checks. This could allow unauthenticated users to trigger potentially sensitive actions within the plugin. The taint analysis reveals flows with unsanitized paths, although they are not classified as critical or high severity, they warrant attention as they indicate potential for unexpected behavior or data manipulation. Furthermore, the plugin has a history of vulnerabilities, particularly those related to missing authorization, suggesting a recurring area of weakness. The output escaping is also a concern, with only 38% of outputs being properly escaped, increasing the risk of cross-site scripting (XSS) vulnerabilities. Despite the absence of critical unpatched CVEs and sound SQL practices, the combination of unprotected AJAX endpoints, a history of authorization issues, and insufficient output escaping presents a notable risk that should be addressed.

Key Concerns

  • Unprotected AJAX handlers
  • Low output escaping percentage
  • Flows with unsanitized paths
  • History of missing authorization vulnerabilities
Vulnerabilities
1

Calculate Prices based on Distance For WooCommerce Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-47602medium · 4.3Missing Authorization

Calculate Prices based on Distance For WooCommerce <= 1.3.5 - Missing Authorization

May 7, 2025 Patched in 1.3.6 (245d)
Code Analysis
Analyzed Mar 16, 2026

Calculate Prices based on Distance For WooCommerce Code Analysis

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

Output Escaping

38% escaped165 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
wccpd_cm_add_address_to_order (calculate-prices-based-on-distance-for-woocommerce.php:424)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
4 unprotected

Calculate Prices based on Distance For WooCommerce Attack Surface

Entry Points7
Unprotected4

AJAX Handlers 7

authwp_ajax_cm_save_form_fieldscalculate-prices-based-on-distance-for-woocommerce.php:51
authwp_ajax_wccpd_get_domain_for_restrictioncalculate-prices-based-on-distance-for-woocommerce.php:54
authwp_ajax_wccpd_get_ip_for_restrictioncalculate-prices-based-on-distance-for-woocommerce.php:55
authwp_ajax_adding_address_cost_to_ordercalculate-prices-based-on-distance-for-woocommerce.php:57
noprivwp_ajax_adding_address_cost_to_ordercalculate-prices-based-on-distance-for-woocommerce.php:58
authwp_ajax_cm_remove_feecalculate-prices-based-on-distance-for-woocommerce.php:60
noprivwp_ajax_cm_remove_feecalculate-prices-based-on-distance-for-woocommerce.php:61
WordPress Hooks 16
actionadmin_menucalculate-prices-based-on-distance-for-woocommerce.php:45
actionadmin_enqueue_scriptscalculate-prices-based-on-distance-for-woocommerce.php:46
actionwp_enqueue_scriptscalculate-prices-based-on-distance-for-woocommerce.php:47
actionwoocommerce_before_order_notescalculate-prices-based-on-distance-for-woocommerce.php:48
actionwoocommerce_checkout_processcalculate-prices-based-on-distance-for-woocommerce.php:49
actionwoocommerce_checkout_create_ordercalculate-prices-based-on-distance-for-woocommerce.php:50
actionwoocommerce_cart_calculate_feescalculate-prices-based-on-distance-for-woocommerce.php:62
filterwoocommerce_email_customer_details_fieldscalculate-prices-based-on-distance-for-woocommerce.php:63
actionadmin_initcalculate-prices-based-on-distance-for-woocommerce.php:64
actionadmin_noticescalculate-prices-based-on-distance-for-woocommerce.php:65
actionwoocommerce_admin_order_data_after_billing_addresscalculate-prices-based-on-distance-for-woocommerce.php:66
actionwoocommerce_store_api_checkout_update_order_from_requestcalculate-prices-based-on-distance-for-woocommerce.php:67
actionwoocommerce_blocks_loadedcalculate-prices-based-on-distance-for-woocommerce.php:68
actiontemplate_redirectcalculate-prices-based-on-distance-for-woocommerce.php:69
actioninitcalculate-prices-based-on-distance-for-woocommerce.php:70
actionwoocommerce_blocks_checkout_block_registrationcalculate-prices-based-on-distance-for-woocommerce.php:184
Maintenance & Trust

Calculate Prices based on Distance For WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 21, 2026
PHP min version7.4
Downloads11K

Community Trust

Rating96/100
Number of ratings20
Active installs300
Developer Profile

Calculate Prices based on Distance For WooCommerce Developer Profile

ammarahmad786

2 plugins · 310 total installs

73
trust score
Avg Security Score
92/100
Avg Patch Time
245 days
View full developer profile
Detection Fingerprints

How We Detect Calculate Prices based on Distance 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/calculate-prices-based-on-distance-for-woocommerce/assets/css/main.css/wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/assets/js/main.js/wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/assets/js/checkout.js/wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/assets/js/admin.js/wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/assets/css/admin.css
Script Paths
/wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/assets/js/main.js/wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/assets/js/checkout.js/wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/assets/js/admin.js
Version Parameters
calculate-prices-based-on-distance-for-woocommerce/assets/css/main.css?ver=calculate-prices-based-on-distance-for-woocommerce/assets/js/main.js?ver=calculate-prices-based-on-distance-for-woocommerce/assets/js/checkout.js?ver=calculate-prices-based-on-distance-for-woocommerce/assets/js/admin.js?ver=calculate-prices-based-on-distance-for-woocommerce/assets/css/admin.css?ver=

HTML / DOM Fingerprints

CSS Classes
wccpd_custom_fieldwccpd_delivery_address_field
HTML Comments
<!-- Delivery Slot and Distance Calculator plugin for WooCommerce --><!-- Direct access not allowed --><!-- Constant Variable --><!-- Files Load -->+17 more
Data Attributes
data-wccpd-iddata-wccpd-url
JS Globals
window.wccpd_ajax_objectwindow.wccpd_datavar wccpd_ajax_objectvar wccpd_datawindow.wccpd_map_settingsvar wccpd_map_settings
REST Endpoints
/wp-json/calculate-prices-based-on-distance-for-wooCommerce/v1/update-order/wp-json/calculate-prices-based-on-distance-for-wooCommerce/v1/checkout-update
FAQ

Frequently Asked Questions about Calculate Prices based on Distance For WooCommerce