Discount Gauge Security & Risk Analysis

wordpress.org/plugins/discount-gauge

Discount Gauge is a lightweight and user-friendly plugin designed to display the amount or percentage of discounts on both simple and variable product …

0 active installs v1.0 PHP + WP 4.0+ Updated Dec 11, 2023
discountwoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Discount Gauge Safe to Use in 2026?

Generally Safe

Score 85/100

Discount Gauge has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The plugin "discount-gauge" v1.0 exhibits a generally good security posture based on the provided static analysis. The plugin has a remarkably small attack surface with zero entry points, and importantly, zero unprotected entry points. The code signals also indicate a healthy approach to security, with no dangerous functions, all SQL queries utilizing prepared statements, and a commendable number of nonce and capability checks. The absence of file operations and external HTTP requests further limits potential attack vectors.

However, a key concern arises from the taint analysis, which identified one flow with an unsanitized path. While no critical or high severity issues were flagged, this single unsanitized path represents a potential weakness, especially in the absence of further context on what data is involved and its potential impact. Furthermore, the output escaping is only 62% properly done, which could lead to cross-site scripting (XSS) vulnerabilities if untrusted data is rendered without proper sanitization in those remaining outputs. The plugin's vulnerability history is clean, with no recorded CVEs, suggesting a diligent development or auditing process thus far.

In conclusion, "discount-gauge" v1.0 has strong foundational security practices. The lack of known vulnerabilities and a controlled attack surface are significant strengths. The primary weaknesses lie in the single unsanitized taint flow and the moderate percentage of unescaped output, which warrant further investigation and remediation to ensure a robust security profile.

Key Concerns

  • Flow with unsanitized path
  • Output escaping only 62% proper
Vulnerabilities
None known

Discount Gauge Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Discount Gauge Release Timeline

No version history available.
Code Analysis
Analyzed Mar 17, 2026

Discount Gauge Code Analysis

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

Output Escaping

62% escaped37 total outputs
Data Flows · Security
1 unsanitized

Data Flow Analysis

3 flows1 with unsanitized paths
disgau_product_discount_meta_box_callback (discount-gauge.php:71)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Discount Gauge Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionadmin_menudiscount-gauge.php:12
actionwoocommerce_single_product_summarydiscount-gauge.php:132
filterwoocommerce_available_variationdiscount-gauge.php:178
Maintenance & Trust

Discount Gauge Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedDec 11, 2023
PHP min version
Downloads541

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Discount Gauge Developer Profile

وندا نوژن

2 plugins · 0 total installs

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

How We Detect Discount Gauge

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/discount-gauge/discount-gauge.php

HTML / DOM Fingerprints

CSS Classes
disgau_discount_total_pricedisgau_discount_total_percentage
Data Attributes
id="disgau_discount_total_price"id="disgau_discount_total_percentage"name="disgau_product_discount_type"id="disgau_product_discount_type"name="disgau_product_discount_custom_phrase"id="disgau_product_discount_custom_phrase"+8 more
JS Globals
jQuery(document).ready(function($) { $(".color-field").wpColorPicker(); });
FAQ

Frequently Asked Questions about Discount Gauge