{"summary":{"plugin_name":"wp-paypal","display_name":"Payment Button for PayPal","version":"1.2.3.44","risk_level":"medium","risk_score":45.0,"risk_factors":{"static_analysis":5,"owasp":10,"attack_surface":10,"unauth_ratio":5,"superglobal_density":15},"last_analyzed":"2026-11-23T12:35:31.176068","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":4000,"rating":90,"num_ratings":40,"tested":"7.1","requires":"5.3","requires_php":"False","author":"Noor Alam","short_description":"Easily accept payment in WordPress by adding a PayPal button to your website.","tags":["checkout","ecommerce","payment","paypal"],"added":"2015-02-16","last_updated":"2026-09-02 9:17am GMT","metadata_fetched_at":null,"modules_missing":null,"modules_failed":null,"latest_release":"1.2.3.49"},"security_metrics":{"total_issues":1,"parameters_found":50,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A02":2},"attack_surface_level":"large","attack_surface_score":52,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":3},"comparison":{"percentile":89.5,"rank":26601,"peer_count":253637,"better_than":89.5,"risk_distribution":{"medium":67449,"minimal":26600,"high":110724,"low":36182,"critical":12682}},"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 'nopriv_no_nonce' x3 - Nopriv AJAX handler without nonce verification (3 occurrence(s))"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":2,"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 'checkout_app_sandbox_secret_key' - Sensitive data exposure","Parameter 'checkout_app_secret_key' - Sensitive data exposure"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":3,"severity":"high","examples":["wp-paypal.php:70","wp-paypal-checkout-api.php:3","wp-paypal-checkout-api.php:5"],"risk":"Nopriv AJAX handler without nonce verification (3 occurrence(s))"}],"A02":[{"type":"parameter","name":"checkout_app_sandbox_secret_key","locations":{"POST":[{"file":"/plugins/wp-paypal/tags/1.2.3.44/wp-paypal.php","line":321,"offset":13363,"snippet":"$_POST['checkout_app_sandbox_secret_key']"},{"file":"/plugins/wp-paypal/tags/1.2.3.44/wp-paypal.php","line":321,"offset":13416,"snippet":"$_POST['checkout_app_sandbox_secret_key']"},{"file":"/plugins/wp-paypal/tags/1.2.3.44/wp-paypal.php","line":321,"offset":13462,"snippet":"$_POST['checkout_app_sandbox_secret_key']"},{"file":"/plugins/wp-paypal/tags/1.2.3.44/wp-paypal.php","line":322,"offset":13611,"snippet":"$_POST['checkout_app_sandbox_secret_key']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"checkout_app_secret_key","locations":{"POST":[{"file":"/plugins/wp-paypal/tags/1.2.3.44/wp-paypal.php","line":332,"offset":14214,"snippet":"$_POST['checkout_app_secret_key']"},{"file":"/plugins/wp-paypal/tags/1.2.3.44/wp-paypal.php","line":332,"offset":14259,"snippet":"$_POST['checkout_app_secret_key']"},{"file":"/plugins/wp-paypal/tags/1.2.3.44/wp-paypal.php","line":332,"offset":14297,"snippet":"$_POST['checkout_app_secret_key']"},{"file":"/plugins/wp-paypal/tags/1.2.3.44/wp-paypal.php","line":333,"offset":14430,"snippet":"$_POST['checkout_app_secret_key']"}]},"risk":"Sensitive data exposure"}]}}