{"summary":{"plugin_name":"suredonation","display_name":"SureDonation – Donation Forms, Fundraising Campaigns & Donor Management","version":"1.7.2","risk_level":"medium","risk_score":40.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"rest_routes":10},"last_analyzed":"2026-11-23T12:13:52.453654","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":4000,"rating":100,"num_ratings":1,"tested":"7.1.4","requires":"6.4","requires_php":"8.0","author":"Brainstorm Force","short_description":"Accept online donations with fundraising campaigns, donation forms, donor management, Stripe, PayPal, and offline payments.","tags":["donation","Donation form","fundraising","nonprofit","recurring donations"],"added":"2026-03-04","last_updated":"2026-11-13 9:52am GMT","metadata_fetched_at":"2026-11-15T05:07:30.963452+00:00","modules_missing":null,"modules_failed":null,"latest_release":"1.7.2"},"security_metrics":{"total_issues":6,"parameters_found":44,"unknown_parameters":1,"headers_accessed":9,"cookies_accessed":0,"wp_hooks":2,"rest_routes":23,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":4,"file_upload_parameters":1,"owasp_findings":{"A01":6},"attack_surface_level":"large","attack_surface_score":97,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":5},"comparison":{"percentile":62.2,"rank":187314,"peer_count":495716,"better_than":62.2,"risk_distribution":{"low":98973,"high":177788,"medium":120220,"critical":38722,"minimal":60013}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"critical","findings_count":6,"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":["REST route '/paypal_webhook_test' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/paypal_webhook_live' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/webhook_test' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/webhook_live' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'rest_no_permission' x3 - REST endpoint with no permission check (3 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/paypal_webhook_test","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/paypal_webhook_live","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/webhook_test","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/webhook_live","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":3,"severity":"high","examples":["inc/api/settings-api.php:48","inc/payments/stripe/stripe-webhook.php:56","inc/payments/stripe/stripe-webhook.php:72"],"risk":"REST endpoint with no permission check (3 occurrence(s))"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":2,"severity":"high","examples":["inc/payments/stripe/stripe-frontend.php:38","inc/payments/stripe/stripe-frontend.php:42"],"risk":"Nopriv AJAX handler without nonce verification (2 occurrence(s))"}]}}