[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fIoPOYv6neSybVyal5Di5X4j0p-wE2dm6oaZulnOwXOk":3},{"slug":4,"name":5,"version":6,"author":7,"author_profile":8,"description":9,"short_description":10,"active_installs":11,"downloaded":12,"rating":11,"num_ratings":11,"last_updated":13,"tested_up_to":14,"requires_at_least":15,"requires_php":16,"tags":17,"homepage":23,"download_link":24,"security_score":25,"vuln_count":11,"unpatched_count":11,"last_vuln_date":26,"fetched_at":27,"vulnerabilities":28,"developer":29,"crawl_stats":26,"alternatives":35,"analysis":36,"fingerprints":100},"product-weight","Product Weight – Price Per Weight","1.0","Omar","https:\u002F\u002Fprofiles.wordpress.org\u002Fomardieh\u002F","\u003Col>\n\u003Cli>Show WooCommerce Product Price Per Weight on single product and category page.\u003C\u002Fli>\n\u003Cli>Show WooCommerce Product Weight on single product and category page.\u003C\u002Fli>\n\u003Cli>It also works on sale products and it will change the price dynamically when sale date ends.\u003C\u002Fli>\n\u003Cli>Free plugin adds features compatible with WordPress and WooCommerce.\u003C\u002Fli>\n\u003Cli>Elements classes for styling are provided too : \u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>– on WooCommerce single product page :\u003Cbr \u002F>\nweight element class : ‘ppw_weight_product’\u003Cbr \u002F>\nprice element class : ‘ppw_price_product’\u003Cbr \u002F>\n– on WooCommerce single category page :\u003Cbr \u002F>\nweight element class : ‘ppw_weight_category’\u003Cbr \u002F>\nprice element class : ‘ppw_price_category’\u003Cbr \u002F>\n6. FREE PLUGIN – show support rate 5 stars and share 🙂\u003C\u002Fp>\n","Show Product Weight and Product Price Per weight on WooCommerce single category and product page. Show Price per 100g and 1kg. 100% FREE PLUGIN - compatible with WooCommerce products, show support, rate 5 stars and share :).",0,3216,"2022-05-21T11:06:00.000Z","5.9.13","4.7","7.0",[18,19,20,21,22],"show-product-weight","show-woocommerce-product-weight","woocommerce-weight","wordpress-price-per-weight","wordpress-product-weight","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fproduct-weight","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fproduct-weight.1.0.zip",85,null,"2026-03-15T15:16:48.613Z",[],{"slug":30,"display_name":7,"profile_url":8,"plugin_count":31,"total_installs":11,"avg_security_score":25,"avg_patch_time_days":32,"trust_score":33,"computed_at":34},"omardieh",1,30,84,"2026-04-04T07:15:21.644Z",[],{"attackSurface":37,"codeSignals":64,"taintFlows":89,"riskAssessment":90,"analyzedAt":99},{"hooks":38,"ajaxHandlers":60,"restRoutes":61,"shortcodes":62,"cronEvents":63,"entryPointCount":11,"unprotectedCount":11},[39,46,50,53,56],{"type":40,"name":41,"callback":42,"priority":43,"file":44,"line":45},"action","woocommerce_single_product_summary","handle_show_price_product",20,"product-weight.php",55,{"type":40,"name":47,"callback":48,"priority":49,"file":44,"line":25},"woocommerce_after_shop_loop_item","handle_show_price_category",10,{"type":40,"name":41,"callback":51,"priority":43,"file":44,"line":52},"handle_show_weight_product",116,{"type":40,"name":47,"callback":54,"priority":49,"file":44,"line":55},"handle_show_weight_category",133,{"type":40,"name":57,"callback":58,"file":44,"line":59},"admin_menu","add_admin_menu",150,[],[],[],[],{"dangerousFunctions":65,"sqlUsage":66,"outputEscaping":86,"fileOperations":11,"externalRequests":11,"nonceChecks":11,"capabilityChecks":11,"bundledLibraries":88},[],{"prepared":11,"raw":67,"locations":68},8,[69,72,74,76,78,80,82,84],{"file":44,"line":70,"context":71},18,"$wpdb->get_var() with variable interpolation",{"file":44,"line":73,"context":71},37,{"file":44,"line":75,"context":71},59,{"file":44,"line":77,"context":71},89,{"file":44,"line":79,"context":71},120,{"file":44,"line":81,"context":71},137,{"file":44,"line":83,"context":71},165,{"file":44,"line":85,"context":71},166,{"escaped":32,"rawEcho":11,"locations":87},[],[],[],{"summary":91,"deductions":92},"The product-weight plugin v1.0 exhibits a generally strong security posture based on the provided static analysis. It boasts zero identified entry points, no dangerous functions, and all identified output is properly escaped, which are excellent practices. Furthermore, the plugin has no known vulnerabilities (CVEs) and no recorded vulnerability history, suggesting a history of secure development.  However, a significant concern is the handling of SQL queries. All 8 identified SQL queries are executed without the use of prepared statements. This lack of prepared statements makes the plugin highly susceptible to SQL injection vulnerabilities if any part of the query is influenced by user input, which is a critical oversight. Additionally, the absence of nonce and capability checks across all code, while not directly flagged as an issue due to the zero attack surface, is a practice that can lead to security weaknesses if the attack surface expands in future versions. The lack of taint analysis results is also notable, possibly indicating a limitation of the analysis tool or a very simple codebase, but it prevents a deeper understanding of data flow risks. Overall, while the plugin starts from a secure foundation with good output handling and no known vulnerabilities, the unmitigated SQL queries represent a serious and immediate risk that needs addressing.",[93,95,97],{"reason":94,"points":43},"Raw SQL queries without prepared statements",{"reason":96,"points":49},"Missing nonce checks",{"reason":98,"points":49},"Missing capability checks","2026-03-17T06:48:41.927Z",{"wat":101,"direct":106},{"assetPaths":102,"generatorPatterns":103,"scriptPaths":104,"versionParams":105},[],[],[],[],{"cssClasses":107,"htmlComments":112,"htmlAttributes":113,"restEndpoints":114,"jsGlobals":115,"shortcodeOutput":116},[108,109,110,111],"ppw_price_product","ppw_price_category","ppw_weight_product","ppw_weight_category",[],[],[],[],[]]