[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fFH2ApB9rO8qixJCsfnrEHWJLqDkDypHaSYfc_8hd9ew":3},{"slug":4,"name":5,"version":6,"author":7,"author_profile":8,"description":9,"short_description":10,"active_installs":11,"downloaded":12,"rating":13,"num_ratings":14,"last_updated":15,"tested_up_to":16,"requires_at_least":17,"requires_php":18,"tags":19,"homepage":25,"download_link":26,"security_score":27,"vuln_count":28,"unpatched_count":28,"last_vuln_date":29,"fetched_at":30,"vulnerabilities":31,"developer":32,"crawl_stats":29,"alternatives":37,"analysis":57,"fingerprints":178},"user-role-based-shipping-method","User role based shipping methods","3.1.0","techsarai","https:\u002F\u002Fprofiles.wordpress.org\u002Ftechsarai\u002F","\u003Cp>It will allow you to hide WooCommerce Shipping methods based on user role and country. It is globally compatible i.e. You can use it with Flat Rate \u002F Free Shipping \u002F Local Pickup or any other third party shipping plugin.\u003Cbr \u002F>\nIt also provides you an option to show only Free Shipping when Free Shipping is available during checkout by removing all other shipping methods.\u003C\u002Fp>\n\u003Cp>Do you want to show shipping methods based on user role?\u003Cbr \u002F>\nDo you want to show shipping methods based on shipping country?\u003Cbr \u002F>\nAre you still struggling to set up the Woocommerce Shipping Cost based on User Role and Destination Country ?\u003C\u002Fp>\n\u003Cp>Here’s the solution for your requirement. Setup Flat Rate \u002F Free Shipping or Shipping Cost using any third Party Plugin and Manage them Which Shipping Cost need to be shown to which user and for which country.\u003C\u002Fp>\n\u003Ch4>Features\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>Display shipping methods based on user role\u003C\u002Fli>\n\u003Cli>Display shipping methods based on shipping country\u003C\u002Fli>\n\u003Cli>Option to hide all other shipping methods and shown only Free Shipping when Free Shipping is available during checkout\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Introduction\u003C\u002Fh3>\n\u003Cp>Display WooCommerce shipping methods based on User Role and country, Option to hide all other shipping methods when Free Shipping is available.\u003C\u002Fp>\n","Display WooCommerce shipping methods based on User Role and Country. Globally compatible.",500,10777,88,9,"2024-03-31T15:59:00.000Z","6.4.8","5.0","7.0",[20,21,22,23,24],"hide-woocommerce-shipping-method","hide-woocommerce-shipping-method-based-on-user-role","role-based-shipping-method","shipping-method-based-on-country","woocommerce-shipping-method","","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fuser-role-based-shipping-method.3.1.0.zip",85,0,null,"2026-03-15T15:16:48.613Z",[],{"slug":7,"display_name":7,"profile_url":8,"plugin_count":33,"total_installs":11,"avg_security_score":27,"avg_patch_time_days":34,"trust_score":35,"computed_at":36},1,30,84,"2026-04-04T05:27:15.291Z",[38],{"slug":39,"name":40,"version":41,"author":42,"author_profile":43,"description":44,"short_description":45,"active_installs":28,"downloaded":46,"rating":28,"num_ratings":28,"last_updated":47,"tested_up_to":48,"requires_at_least":49,"requires_php":50,"tags":51,"homepage":55,"download_link":56,"security_score":27,"vuln_count":28,"unpatched_count":28,"last_vuln_date":29,"fetched_at":30},"asm-wc","Advanced Shipping Methods for WooCommerce","1.0.0","The Rite Sites","https:\u002F\u002Fprofiles.wordpress.org\u002Ftheritesites\u002F","\u003Cp>Are you a business owner who likes to offer your customers the best? Do you also like to be able to pack up early on a Friday?\u003Cbr \u002F>\nNow you can be both! Offer your customers the BEST shipping deals that are going to get out TODAY! Charge an extra fee (or don’t), but cut the deal off at 3pm on Friday (or any other day!)\u003C\u002Fp>\n\u003Cp>Promote shipping deals on special orders that let YOU guide your customers into making decisions that benefit your bottom line.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Example:\u003C\u002Fstrong>\u003Cbr \u002F>\nAverage order is 1 t-shirt for $20. It costs you $6 to ship anywhere with your rate. If a customer orders up to 3 t-shirts, it still only costs you $6 to ship.\u003Cbr \u002F>\nUsing this plugin, you can make a ruleset either via product categories or shipping classes to offer a new shipping rate if a customer orders 2 or 3 t-shirts rather than 1 or 4+\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Example 2:\u003C\u002Fstrong>\u003Cbr \u002F>\nYou have a scheduled pickup with your shipping service of choice TheRiteShipping Co. at 3:30pm every day. On your website you have “2 day delivery” as an option, but it really counts as 3+ days if they order at 3:45pm.\u003Cbr \u002F>\nUsing this plugin, you can disable the “2 day shipping” option at 3:30pm every day until midnight or even over a weekend (or time span) to reduce friction and confusion among your customers.\u003C\u002Fp>\n\u003Cp>See screenshots for examples of making an “advanced flat rate” method.\u003C\u002Fp>\n","Offer shipping methods to customers based on quantities, classes, or categories!",949,"2021-01-27T23:52:00.000Z","5.6.17","4.0","5.6",[52,53,54],"advanced-shipping","time-based-shipping","woocommerce-shipping-methods","https:\u002F\u002Fwww.theritesites.com\u002Fplugins\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fasm-wc.zip",{"attackSurface":58,"codeSignals":95,"taintFlows":141,"riskAssessment":169,"analyzedAt":177},{"hooks":59,"ajaxHandlers":91,"restRoutes":92,"shortcodes":93,"cronEvents":94,"entryPointCount":28,"unprotectedCount":28},[60,67,71,77,82,87],{"type":61,"name":62,"callback":63,"priority":64,"file":65,"line":66},"filter","woocommerce_package_rates","manage_shipping_methods",10,"includes\\class-pvalley-user-role-based-shipping-manage-shipping.php",27,{"type":61,"name":62,"callback":68,"priority":69,"file":65,"line":70},"hide_shipping_methods",999,28,{"type":61,"name":72,"callback":73,"priority":74,"file":75,"line":76},"woocommerce_settings_tabs_array","add_settings_page",50,"includes\\class-pvalley-user-role-based-shipping-settings.php",15,{"type":78,"name":79,"callback":80,"file":75,"line":81},"action","woocommerce_admin_field_ph_role_based_rule_matrix","ph_role_based_rule_matrix",21,{"type":78,"name":83,"callback":84,"file":85,"line":86},"init","load_translation","includes\\class-pvalley-user-role-based-shipping.php",19,{"type":78,"name":88,"callback":89,"file":85,"line":90},"before_woocommerce_init","hposCompatibility",23,[],[],[],[],{"dangerousFunctions":96,"sqlUsage":97,"outputEscaping":99,"fileOperations":28,"externalRequests":28,"nonceChecks":28,"capabilityChecks":28,"bundledLibraries":140},[],{"prepared":28,"raw":28,"locations":98},[],{"escaped":100,"rawEcho":86,"locations":101},4,[102,105,108,110,112,114,116,118,119,121,123,125,126,128,130,132,134,136,138],{"file":75,"line":103,"context":104},128,"raw output",{"file":106,"line":107,"context":104},"includes\\settings\\html-rule-matrix.php",55,{"file":106,"line":109,"context":104},60,{"file":106,"line":111,"context":104},63,{"file":106,"line":113,"context":104},70,{"file":106,"line":115,"context":104},75,{"file":106,"line":117,"context":104},78,{"file":106,"line":27,"context":104},{"file":106,"line":120,"context":104},89,{"file":106,"line":122,"context":104},92,{"file":106,"line":124,"context":104},99,{"file":106,"line":124,"context":104},{"file":106,"line":127,"context":104},109,{"file":106,"line":129,"context":104},113,{"file":106,"line":131,"context":104},119,{"file":106,"line":133,"context":104},121,{"file":106,"line":135,"context":104},126,{"file":106,"line":137,"context":104},129,{"file":106,"line":139,"context":104},135,[],[142,161],{"entryPoint":143,"graph":144,"unsanitizedCount":33,"severity":160},"save (includes\\class-pvalley-user-role-based-shipping-settings.php:136)",{"nodes":145,"edges":157},[146,151],{"id":147,"type":148,"label":149,"file":75,"line":150},"n0","source","$_POST",142,{"id":152,"type":153,"label":154,"file":75,"line":155,"wp_function":156},"n1","sink","update_option() [Settings Manipulation]",167,"update_option",[158],{"from":147,"to":152,"sanitized":159},false,"low",{"entryPoint":162,"graph":163,"unsanitizedCount":33,"severity":160},"\u003Cclass-pvalley-user-role-based-shipping-settings> (includes\\class-pvalley-user-role-based-shipping-settings.php:0)",{"nodes":164,"edges":167},[165,166],{"id":147,"type":148,"label":149,"file":75,"line":150},{"id":152,"type":153,"label":154,"file":75,"line":155,"wp_function":156},[168],{"from":147,"to":152,"sanitized":159},{"summary":170,"deductions":171},"The static analysis of \"user-role-based-shipping-method\" v3.1.0 reveals a generally good security posture in terms of attack surface and SQL query handling. The absence of AJAX handlers, REST API routes, shortcodes, and cron events with unprotected entry points is a significant strength, minimizing potential external exploitation vectors.  Furthermore, all SQL queries are properly prepared, mitigating risks of SQL injection vulnerabilities.\n\nHowever, the analysis does raise concerns regarding output escaping. A substantial portion of output (83%) is not properly escaped, creating a high risk of Cross-Site Scripting (XSS) vulnerabilities. Although no direct vulnerabilities were flagged by the taint analysis, the presence of unsanitized paths in two flows indicates potential for unexpected behavior or exploitation if these paths are leveraged in specific ways.  The plugin's clean vulnerability history is positive, suggesting past good development practices, but it doesn't negate the current findings.\n\nIn conclusion, while the plugin exhibits strengths in its limited attack surface and secure database interactions, the significant unescaped output poses a critical risk that requires immediate attention. The unsanitized paths warrant further investigation to understand their potential impact. Addressing the output escaping issues is paramount to improving the plugin's overall security.",[172,174],{"reason":173,"points":64},"Significant unescaped output (83%)",{"reason":175,"points":176},"Unsanitized paths in taint analysis (2 flows)",5,"2026-03-16T19:36:58.681Z",{"wat":179,"direct":188},{"assetPaths":180,"generatorPatterns":185,"scriptPaths":186,"versionParams":187},[181,182,183,184],"\u002Fwp-content\u002Fplugins\u002Fuser-role-based-shipping-method\u002Fincludes\u002Fcommon\u002FPvalleyDropdownOptions.php","\u002Fwp-content\u002Fplugins\u002Fuser-role-based-shipping-method\u002Fincludes\u002FPvalleyURBSActionOnShippingMethodType.php","\u002Fwp-content\u002Fplugins\u002Fuser-role-based-shipping-method\u002Fincludes\u002Fclass-pvalley-user-role-based-shipping-common.php","\u002Fwp-content\u002Fplugins\u002Fuser-role-based-shipping-method\u002Fincludes\u002Fclass-pvalley-user-role-based-shipping.php",[],[],[],{"cssClasses":189,"htmlComments":190,"htmlAttributes":191,"restEndpoints":192,"jsGlobals":193,"shortcodeOutput":194},[],[],[],[],[],[]]