Product Labels For WooCommerce Security & Risk Analysis

wordpress.org/plugins/product-badges

Allows to create beautiful product labels for your WooCommerce store.

200 active installs v1.0.0 PHP 5.3+ WP 3.5+ Updated Jul 26, 2021
badge-for-saleproduct-badgesproduct-labelsproduct-stickerssale
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Product Labels For WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 4yr ago
Risk Assessment

The "product-badges" plugin v1.0.0 exhibits a generally good security posture based on the provided static analysis. The absence of raw SQL queries, a high percentage of properly escaped output, and the use of nonce checks on its two AJAX entry points are all positive indicators. The plugin also shows no history of known vulnerabilities, which is a strong sign of its developers' commitment to security or a lack of past exploitation. The taint analysis also revealed no critical or high severity flows, further bolstering confidence in its safety.

However, a notable concern is the complete absence of capability checks on its AJAX handlers. While nonce checks are present, they primarily protect against Cross-Site Request Forgery (CSRF) and do not restrict access based on user roles or permissions. This means that any authenticated user, regardless of their privileges, could potentially interact with these AJAX endpoints. This is a significant gap that could be exploited if the AJAX handlers perform sensitive operations. Furthermore, the plugin bundles the Select2 library, and without knowing the specific version, there's a potential for using an outdated or vulnerable version of this third-party component, though no explicit issues were flagged here.

Key Concerns

  • Missing capability checks on AJAX handlers
  • Bundled library (Select2) version not specified
Vulnerabilities
None known

Product Labels For WooCommerce Security Vulnerabilities

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

Product Labels For WooCommerce Code Analysis

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

Bundled Libraries

Select2

SQL Query Safety

100% prepared4 total queries

Output Escaping

81% escaped77 total outputs
Data Flows
All sanitized

Data Flow Analysis

3 flows
admin_get_products_ajax_callback (admin\inc\classes\class-ajax.php:16)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Product Labels For WooCommerce Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 2

authwp_ajax_lion_badges_get_productsadmin\inc\classes\class-ajax.php:9
authwp_ajax_lion_badges_get_product_categoriesadmin\inc\classes\class-ajax.php:10
WordPress Hooks 13
actionadmin_initadmin\class-admin.php:13
actionadmin_enqueue_scriptsadmin\class-admin.php:14
actionadd_meta_boxesadmin\inc\classes\class-meta-boxes.php:10
actionsave_postadmin\inc\classes\class-options.php:10
actionadmin_menuadmin\inc\classes\class-settings-page.php:13
actionadmin_initadmin\inc\classes\class-settings-page.php:14
actioninitinc\classes\class-badge-cpt.php:10
actionwp_enqueue_scriptsinc\classes\class-badge.php:13
actionwoocommerce_before_shop_loop_iteminc\classes\class-badge.php:15
actionwoocommerce_product_thumbnailsinc\classes\class-badge.php:16
filterwoocommerce_sale_flashinc\classes\class-badge.php:18
actionplugins_loadedproduct-badges.php:27
actionadmin_noticesproduct-badges.php:98
Maintenance & Trust

Product Labels For WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedJul 26, 2021
PHP min version5.3
Downloads5K

Community Trust

Rating100/100
Number of ratings4
Active installs200
Developer Profile

Product Labels For WooCommerce Developer Profile

Lion Plugins

1 plugin · 200 total installs

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

How We Detect Product Labels 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-badges/admin/assets/css/admin.css/wp-content/plugins/product-badges/admin/assets/js/admin.js/wp-content/plugins/product-badges/admin/assets/js/select2.min.js/wp-content/plugins/product-badges/admin/assets/css/select2.min.css/wp-content/plugins/product-badges/assets/css/badge.css/wp-content/plugins/product-badges/assets/js/badge.js
Script Paths
/wp-content/plugins/product-badges/admin/assets/js/admin.js/wp-content/plugins/product-badges/admin/assets/js/select2.min.js/wp-content/plugins/product-badges/assets/js/badge.js
Version Parameters
product-badges/admin/assets/js/admin.js?ver=product-badges/admin/assets/js/select2.min.js?ver=product-badges/assets/js/badge.js?ver=

HTML / DOM Fingerprints

CSS Classes
lion-badge-shape-lion-badge-text-
FAQ

Frequently Asked Questions about Product Labels For WooCommerce