Gold Price Based on Weight Security & Risk Analysis

wordpress.org/plugins/gold-price-based-on-weight

Automatically calculate WooCommerce product prices based on a global price per gram of Gold, Silver, or Platinum and the weight of each product.

300 active installs v3.4 PHP 7.4+ WP 5.7+ Updated May 22, 2026
gold-pricejewelryprecious-metalspricingwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Gold Price Based on Weight Safe to Use in 2026?

Generally Safe

Score 100/100

Gold Price Based on Weight has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3mo ago
Risk Assessment

The "gold-price-based-on-weight" plugin v2.5 exhibits a generally strong security posture based on the provided static analysis. It effectively utilizes prepared statements for all SQL queries and has a high percentage of properly escaped output, indicating good development practices for preventing common vulnerabilities like SQL injection and cross-site scripting. The limited attack surface, with only one AJAX handler and no shortcodes or cron events, further contributes to its security. Notably, there are no recorded vulnerabilities in its history, which is a very positive sign. However, a key area of concern is the complete absence of capability checks on its sole entry point, the AJAX handler. This means that any user, regardless of their role or permissions, can potentially interact with this handler, which could lead to unintended actions or information disclosure if the handler performs sensitive operations.

Key Concerns

  • No capability checks on AJAX handler
  • Some output not properly escaped
Vulnerabilities
None known

Gold Price Based on Weight Security Vulnerabilities

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

Gold Price Based on Weight Release Timeline

v3.4Current
v3.3
v3.2
v3.1
v3.0
v2.9
v2.8
v2.7
v2.6
v2.5
v2.4
v2.3
v2.2
v2.1
v2.0
v1.9
v1.8
v1.7
v1.6
v1.5
Code Analysis
Analyzed Mar 16, 2026

Gold Price Based on Weight Code Analysis

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

Output Escaping

88% escaped26 total outputs
Attack Surface

Gold Price Based on Weight Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_store_deactivation_reasonincludes\plugin.php:484
WordPress Hooks 18
actionadmin_enqueue_scriptsincludes\plugin.php:3
actionadmin_enqueue_scriptsincludes\plugin.php:14
filterplugin_row_metaincludes\plugin.php:99
actionwoocommerce_product_options_general_product_dataincludes\plugin.php:113
actionwoocommerce_process_product_metaincludes\plugin.php:133
actionadmin_menuincludes\plugin.php:158
actionadmin_initincludes\plugin.php:247
filterwoocommerce_product_get_priceincludes\plugin.php:274
filterwoocommerce_product_get_regular_priceincludes\plugin.php:275
filterwoocommerce_product_variation_get_regular_priceincludes\plugin.php:276
filterwoocommerce_product_variation_get_priceincludes\plugin.php:277
actionwoocommerce_variation_options_pricingincludes\plugin.php:288
actionwoocommerce_save_product_variationincludes\plugin.php:307
filterwoocommerce_product_variation_get_regular_priceincludes\plugin.php:316
filterwoocommerce_product_variation_get_priceincludes\plugin.php:317
filterwoocommerce_variation_prices_priceincludes\plugin.php:318
filterwoocommerce_variation_prices_regular_priceincludes\plugin.php:319
actionadmin_footerincludes\plugin.php:500
Maintenance & Trust

Gold Price Based on Weight Maintenance & Trust

Maintenance Signals

WordPress version tested7.0.2
Last updatedMay 22, 2026
PHP min version7.4
Downloads12K

Community Trust

Rating100/100
Number of ratings8
Active installs300
Developer Profile

Gold Price Based on Weight Developer Profile

Vimal Kava

5 plugins · 330 total installs

78
trust score
Avg Security Score
98/100
Avg Patch Time
449 days
View full developer profile
Detection Fingerprints

How We Detect Gold Price Based on Weight

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/gold-price-based-on-weight/assets/css/admin-style-gold.css

HTML / DOM Fingerprints

CSS Classes
deactivation-modal
Data Attributes
data-slug="gold-price-based-on-weight"
JS Globals
PTGold_ASSETS_URL
FAQ

Frequently Asked Questions about Gold Price Based on Weight