{"summary":{"plugin_name":"express-checkout-paypal-payment-gateway-for-woocommerce","display_name":"Payment Gateway of PayPal for WooCommerce","version":"1.9.3","risk_level":"medium","risk_score":30.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":10},"last_analyzed":"2026-11-23T14:51:19.051538","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":7000,"rating":84,"num_ratings":79,"tested":"7.1.3","requires":"5.6","requires_php":"7.0","author":"ThemeHigh","short_description":"Enable faster checkout with PayPal for WooCommerce. Add PayPal Express/PayPal Standard gateways that accept PayPal, Pay Later, debit & credit cards.","tags":["credit card","debit card","paylater","payment gateway","paypal"],"added":"2016-10-12","last_updated":"2026-10-08 10:06am GMT","metadata_fetched_at":"2026-11-23T05:37:54.483115+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.9.6"},"security_metrics":{"total_issues":6,"parameters_found":27,"unknown_parameters":2,"headers_accessed":1,"cookies_accessed":0,"wp_hooks":0,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A02":4},"attack_surface_level":"medium","attack_surface_score":27,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":89.5,"rank":26625,"peer_count":253786,"better_than":89.5,"risk_distribution":{"medium":67472,"minimal":26624,"high":110758,"low":36228,"critical":12704}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":1,"description":"Access control enforces policy such that users cannot act outside of their intended permissions","recommendations":["Add a real permission_callback to every REST route — never '__return_true' for state-changing endpoints","Verify nonces on all wp_ajax_nopriv_ handlers and re-check capabilities server-side","Validate and canonicalize file paths to block traversal on read/write/delete operations","Never trust a user-supplied role/capability — enforce it against the acting user's own permissions"],"findings_summary":["Pattern 'redirect_unvalidated' x1 - wp_redirect with unvalidated user input (1 occurrence(s))"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":4,"description":"Failures related to cryptography which often lead to exposure of sensitive data","recommendations":["Never store passwords or API keys in plain text","Use WordPress options API with encryption for sensitive data","Implement proper key management practices","Use HTTPS for all sensitive data transmission"],"findings_summary":["Parameter 'woocommerce_eh_paypal_express_sandbox_password' - Sensitive data exposure","Parameter 'woocommerce_eh_paypal_express_live_password' - Sensitive data exposure","Parameter 'woocommerce_eh_paypal_express_sandbox_client_secret' - Sensitive data exposure","Parameter 'woocommerce_eh_paypal_express_live_client_secret' - Sensitive data exposure"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"redirect_unvalidated","count":1,"severity":"high","examples":["includes/class-paypal-express-api.php:1748"],"risk":"wp_redirect with unvalidated user input (1 occurrence(s))"}],"A02":[{"type":"parameter","name":"woocommerce_eh_paypal_express_sandbox_password","locations":{"POST":[{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-express-api.php","line":28,"offset":1695,"snippet":"$_POST[\"woocommerce_eh_paypal_express_sandbox_password\"]"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-express-api.php","line":28,"offset":1777,"snippet":"$_POST[\"woocommerce_eh_paypal_express_sandbox_password\"]"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"woocommerce_eh_paypal_express_live_password","locations":{"POST":[{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-express-api.php","line":31,"offset":2353,"snippet":"$_POST[\"woocommerce_eh_paypal_express_live_password\"]"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-express-api.php","line":31,"offset":2432,"snippet":"$_POST[\"woocommerce_eh_paypal_express_live_password\"]"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"woocommerce_eh_paypal_express_sandbox_client_secret","locations":{"POST":[{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-express-api.php","line":66,"offset":5298,"snippet":"$_POST[\"woocommerce_eh_paypal_express_sandbox_client_secret\"]"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-express-api.php","line":66,"offset":5385,"snippet":"$_POST[\"woocommerce_eh_paypal_express_sandbox_client_secret\"]"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-rest-request-builder.php","line":849,"offset":35601,"snippet":"$_REQUEST['woocommerce_eh_paypal_express_sandbox_client_secret']"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-rest-request-builder.php","line":849,"offset":35670,"snippet":"$_REQUEST['woocommerce_eh_paypal_express_sandbox_client_secret']"}],"GET":[{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-rest-request-builder.php","line":849,"offset":35601,"snippet":"$_REQUEST['woocommerce_eh_paypal_express_sandbox_client_secret']"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-rest-request-builder.php","line":849,"offset":35670,"snippet":"$_REQUEST['woocommerce_eh_paypal_express_sandbox_client_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"woocommerce_eh_paypal_express_live_client_secret","locations":{"POST":[{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-express-api.php","line":70,"offset":5814,"snippet":"$_POST[\"woocommerce_eh_paypal_express_live_client_secret\"]"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-express-api.php","line":70,"offset":5898,"snippet":"$_POST[\"woocommerce_eh_paypal_express_live_client_secret\"]"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-rest-request-builder.php","line":843,"offset":35181,"snippet":"$_REQUEST['woocommerce_eh_paypal_express_live_client_secret']"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-rest-request-builder.php","line":843,"offset":35247,"snippet":"$_REQUEST['woocommerce_eh_paypal_express_live_client_secret']"}],"GET":[{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-rest-request-builder.php","line":843,"offset":35181,"snippet":"$_REQUEST['woocommerce_eh_paypal_express_live_client_secret']"},{"file":"/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/tags/1.9.3/includes/class-paypal-rest-request-builder.php","line":843,"offset":35247,"snippet":"$_REQUEST['woocommerce_eh_paypal_express_live_client_secret']"}]},"risk":"Sensitive data exposure"}]}}