Product Batch for WooCommerce Security & Risk Analysis

wordpress.org/plugins/product-batch-for-woocommerce

Add a batch code for each product to track ordered products back to manufacturing batches.

20 active installs v1.0.2 PHP + WP 4.1+ Updated Aug 24, 2018
batchbatchesmanufacturing-batchorder-batchproduct-batch
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Product Batch for WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 7yr ago
Risk Assessment

The static analysis of the "product-batch-for-woocommerce" plugin v1.0.2 reveals a mixed security posture. On one hand, the attack surface is remarkably small, with no identified AJAX handlers, REST API routes, shortcodes, or cron events. This significantly limits the potential entry points for attackers. Additionally, there are no recorded vulnerabilities in its history, which is a strong positive indicator.

However, several concerns emerge from the code analysis. A significant portion of SQL queries (100%) are not using prepared statements, posing a risk of SQL injection. While the output escaping is moderately well implemented at 53%, the remaining unescaped outputs could be a vector for Cross-Site Scripting (XSS) vulnerabilities. The presence of nonce checks on some actions is good, but the complete absence of capability checks on any entry points is a critical oversight, meaning any action could potentially be performed by unprivileged users if an entry point were to exist.

Given the lack of known vulnerabilities, the plugin appears to be relatively secure in practice. Nevertheless, the code analysis highlights significant areas for improvement in secure coding practices, particularly concerning SQL and permission checks. Addressing these identified weaknesses would greatly enhance the plugin's overall security and resilience against potential attacks.

Key Concerns

  • All SQL queries use raw SQL, not prepared statements
  • Less than 100% of output escaping is properly implemented
  • No capability checks on any entry points
Vulnerabilities
None known

Product Batch for WooCommerce Security Vulnerabilities

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

Product Batch for WooCommerce Code Analysis

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

SQL Query Safety

0% prepared9 total queries

Output Escaping

53% escaped34 total outputs
Attack Surface

Product Batch for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_menuclasses\class-wc-product-batch-admin.php:16
actionwoocommerce_screen_idsclasses\class-wc-product-batch-admin.php:17
actionwoocommerce_order_status_changedclasses\class-wc-product-batch.php:22
filterwoocommerce_admin_reportsclasses\class-wc-product-batch.php:25
actionplugins_loadedproduct-batch-wc.php:42
Maintenance & Trust

Product Batch for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedAug 24, 2018
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings2
Active installs20
Developer Profile

Product Batch for WooCommerce Developer Profile

Progressus

2 plugins · 4K total installs

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

How We Detect Product Batch 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/product-batch-for-woocommerce/assets/css/admin.css

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Product Batch for WooCommerce