Shipping by Weight for WooCommerce Security & Risk Analysis

wordpress.org/plugins/dn-shipping-by-weight

Weight-based shipping costs for Woocomerce. Spese di spedizione basata sul peso per Woocomerce.

60 active installs v1.2.2 PHP 5.6+ WP 5.0+ Updated Feb 10, 2025
pesoshippingspedizioniweightwoocommerce
90
A · Safe
CVEs total2
Unpatched0
Last CVEApr 10, 2025
Download
Safety Verdict

Is Shipping by Weight for WooCommerce Safe to Use in 2026?

Generally Safe

Score 90/100

Shipping by Weight for WooCommerce has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Apr 10, 2025Updated 1yr ago
Risk Assessment

The dn-shipping-by-weight plugin v1.2.2 exhibits a mixed security posture. While the static analysis reveals a remarkably small attack surface with no immediate exploitable entry points like unprotected AJAX handlers, REST API routes, or shortcodes, and a decent proportion of SQL queries utilizing prepared statements, there are notable concerns. The taint analysis indicates flows with unsanitized paths, suggesting potential vulnerabilities if these paths were to become accessible, although no critical or high severity issues were flagged in this specific scan. The vulnerability history is a significant red flag, with two past medium severity CVEs related to Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF). The fact that these vulnerabilities were reported and seemingly patched (as there are 0 currently unpatched) is positive, but the recurrence of these common vulnerability types suggests a need for continued vigilance and robust input validation and output escaping practices. Overall, the plugin has strengths in its limited attack surface, but the past vulnerability history and the presence of unsanitized taint flows warrant caution.

Key Concerns

  • Past medium CVEs for XSS/CSRF
  • Taint flows with unsanitized paths
  • SQL queries not using prepared statements (50%)
  • Output escaping is not fully proper (68%)
  • No capability checks on entry points
Vulnerabilities
2

Shipping by Weight 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-32535medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

DN Shipping by Weight for WooCommerce <= 1.2 - Reflected Cross-Site Scripting

Apr 10, 2025 Patched in 1.2.1 (6d)
CVE-2024-11842medium · 4.3Cross-Site Request Forgery (CSRF)

DN Shipping by Weight for WooCommerce <= 1.1.1 - Cross-Site Request Forgery to Plugin Settings Update

Dec 6, 2024 Patched in 1.2 (5d)
Code Analysis
Analyzed Mar 16, 2026

Shipping by Weight for WooCommerce Code Analysis

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

SQL Query Safety

50% prepared2 total queries

Output Escaping

68% escaped56 total outputs
Data Flows
4 unsanitized

Data Flow Analysis

6 flows4 with unsanitized paths
dn_shipping_by_weight_menage_weight0 (dn-shipping-by-weight.php:88)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Shipping by Weight for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_menudn-shipping-by-weight.php:21
actionadmin_initdn-shipping-by-weight.php:24
actionadmin_noticesdn-shipping-by-weight.php:412
actionwoocommerce_shipping_initdn-shipping-by-weight.php:416
filterwoocommerce_shipping_methodsdn-shipping-by-weight.php:490
Maintenance & Trust

Shipping by Weight for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedFeb 10, 2025
PHP min version5.6
Downloads2K

Community Trust

Rating70/100
Number of ratings2
Active installs60
Developer Profile

Shipping by Weight for WooCommerce 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 Shipping by Weight 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/dn-shipping-by-weight/css/main.css/wp-content/plugins/dn-shipping-by-weight/js/main.js
Script Paths
/wp-content/plugins/dn-shipping-by-weight/js/main.js
Version Parameters
dn-shipping-by-weight/css/main.css?ver=dn-shipping-by-weight/js/main.js?ver=

HTML / DOM Fingerprints

CSS Classes
dn_shipping_by_weight_table_iddn_shipping_by_weight_test_table_iddn_shipping_by_weight_table_delete_iddn_shipping_by_weight_menage
Data Attributes
name="dn_shipping_by_weight_table_id"name="dn_shipping_by_weight_test_table_id"name="dn_shipping_by_weight_table_delete_id"
FAQ

Frequently Asked Questions about Shipping by Weight for WooCommerce