TG Product Quantity Plus Minus Button Security & Risk Analysis

wordpress.org/plugins/product-quantity-updater

This plugin will add quantity increment and decrement buttons with the product quantity input control.

200 active installs v1.1.4 PHP 7.4+ WP 3.0.1+ Updated Apr 14, 2024
plus-minus-buttonqty-buttonquantityquantity-buttonswoocommerce-quantity
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is TG Product Quantity Plus Minus Button Safe to Use in 2026?

Generally Safe

Score 92/100

TG Product Quantity Plus Minus Button has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

Based on the static analysis, the "product-quantity-updater" v1.1.4 plugin exhibits a seemingly strong security posture. There are no identified AJAX handlers, REST API routes, shortcodes, or cron events, resulting in a zero-item attack surface. Furthermore, the plugin avoids dangerous functions, performs all SQL queries using prepared statements, and makes no external HTTP requests. The absence of any known CVEs and a clean vulnerability history also contribute to a positive security outlook.

However, the analysis does reveal areas for improvement. A significant concern is the low percentage of properly escaped output (12%). This suggests a high risk of Cross-Site Scripting (XSS) vulnerabilities, where unescaped data displayed to users could be manipulated to execute malicious scripts. While the taint analysis shows no flows with unsanitized paths, this might be due to the limited number of flows analyzed or the absence of complex data processing within the plugin that would trigger such analysis. The lack of nonce checks, while not directly on an attack surface, is a general security practice that could strengthen the plugin's defenses against certain types of attacks.

In conclusion, the plugin benefits from a small attack surface and secure database interactions. Nevertheless, the prevalent unescaped output is a critical weakness that needs immediate attention to prevent potential XSS attacks. The limited taint analysis and absence of nonce checks are minor points to consider for future hardening, but the output escaping issue is the most pressing concern for this version.

Key Concerns

  • Low percentage of properly escaped output
  • No nonce checks found
Vulnerabilities
None known

TG Product Quantity Plus Minus Button Security Vulnerabilities

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

TG Product Quantity Plus Minus Button Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
53
7 escaped
Nonce Checks
0
Capability Checks
2
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

12% escaped60 total outputs
Attack Surface

TG Product Quantity Plus Minus Button Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
actionplugins_loadedincludes\class-tgqb.php:147
actionadmin_enqueue_scriptsincludes\class-tgqb.php:163
actionadmin_enqueue_scriptsincludes\class-tgqb.php:164
actionadmin_menuincludes\class-tgqb.php:167
actionadmin_initincludes\class-tgqb.php:170
actionadmin_initincludes\class-tgqb.php:172
actionwp_enqueue_scriptsincludes\class-tgqb.php:186
actionwp_enqueue_scriptsincludes\class-tgqb.php:187
actionwoocommerce_before_quantity_input_fieldincludes\class-tgqb.php:189
actionwoocommerce_after_quantity_input_fieldincludes\class-tgqb.php:190
actionwp_headincludes\class-tgqb.php:192
actionwp_headincludes\class-tgqb.php:193
actionwp_headincludes\class-tgqb.php:194
Maintenance & Trust

TG Product Quantity Plus Minus Button Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedApr 14, 2024
PHP min version7.4
Downloads9K

Community Trust

Rating80/100
Number of ratings2
Active installs200
Developer Profile

TG Product Quantity Plus Minus Button Developer Profile

Asif Aziz

2 plugins · 210 total installs

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

How We Detect TG Product Quantity Plus Minus Button

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/product-quantity-updater/css/tgqb-admin.css/wp-content/plugins/product-quantity-updater/js/tgqb-admin.js
Script Paths
/wp-content/plugins/product-quantity-updater/admin/js/tgqb-admin.js
Version Parameters
tgqb-admin?ver=tgqb-admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
switchslider
Data Attributes
name="tgqb_settings[tgqb_field_cart_page]"name="tgqb_settings[tgqb_field_product_page]"name="tgqb_settings[tgqb_field_update_cart]"
FAQ

Frequently Asked Questions about TG Product Quantity Plus Minus Button