{"summary":{"plugin_name":"phonepe-payment-solutions","display_name":"PhonePe Payment Solutions","version":"3.1.1","risk_level":"medium","risk_score":32.0,"risk_factors":{"static_analysis":10,"owasp":5,"unauth_ratio":10,"rest_routes":2,"raw_input":5},"last_analyzed":"2026-11-23T13:40:36.501355","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":52,"num_ratings":11,"tested":"7.0.5","requires":"5.4.1","requires_php":"8.2","author":"PhonePe","short_description":"Accept payments on your WooCommerce store through PhonePe using UPI, cards, wallets and net banking.","tags":["payment gateway","payments","phonepe","UPI","woocommerce"],"added":"2022-07-14","last_updated":"2026-09-15 4:30pm GMT","metadata_fetched_at":"2026-09-20T07:43:18.640761+00:00","modules_missing":null,"modules_failed":null,"latest_release":"3.1.1"},"security_metrics":{"total_issues":34,"parameters_found":3,"unknown_parameters":0,"headers_accessed":5,"cookies_accessed":1,"wp_hooks":2,"rest_routes":3,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":5},"attack_surface_level":"medium","attack_surface_score":11,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":4},"comparison":{"percentile":66.9,"rank":156083,"peer_count":472010,"better_than":66.9,"risk_distribution":{"medium":115559,"high":176092,"low":88030,"minimal":54264,"critical":38065}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":5,"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 'callback' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route 'callback' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route 'check-pending-status' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))","Pattern 'rest_no_permission' x3 - REST endpoint with no permission check (3 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"callback","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"callback","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"check-pending-status","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["index.php:775"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"},{"type":"pattern_match","pattern":"rest_no_permission","count":3,"severity":"high","examples":["index.php:708","index.php:721","index.php:866"],"risk":"REST endpoint with no permission check (3 occurrence(s))"}]}}