{"summary":{"plugin_name":"sureforms","display_name":"SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz","version":"2.13.1","risk_level":"high","risk_score":53.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"filter_hooks":10,"rest_routes":10,"raw_input":10,"installs_modifier":-7},"last_analyzed":"2026-11-29T22:12:27.048242","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":500000,"rating":98,"num_ratings":105,"tested":"7.1.5","requires":"6.4","requires_php":"7.4","author":"Brainstorm Force","short_description":"AI form generator and WordPress form builder for contact and Stripe payment forms, with surveys and quizzes in SureForms Business.","tags":["ai forms","contact form","form builder","forms","payment form"],"added":"2024-04-01","last_updated":"2026-11-19 11:13am GMT","metadata_fetched_at":"2026-11-27T04:45:41.739085+00:00","modules_missing":[],"modules_failed":[],"latest_release":"2.14.3"},"security_metrics":{"total_issues":30,"parameters_found":75,"unknown_parameters":2,"headers_accessed":13,"cookies_accessed":0,"wp_hooks":2,"rest_routes":25,"query_vars":0,"shortcode_atts":2,"rest_routes_with_access_patterns":6,"file_upload_parameters":0,"owasp_findings":{"A01":3,"A03":1,"A07":1},"attack_surface_level":"large","attack_surface_score":127,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":12},"comparison":{"percentile":23.7,"rank":382771,"peer_count":501497,"better_than":23.7,"risk_distribution":{"low":101676,"high":178141,"medium":121491,"critical":38878,"minimal":61311}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":3,"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 '/after-submission/(?P<submission_id>[0-9]+)' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'rest_no_permission' x9 - REST endpoint with no permission check (9 occurrence(s))","Pattern 'nopriv_no_nonce' x2 - Nopriv AJAX handler without nonce verification (2 occurrence(s))"]},{"category":"A03","name":"Injection","severity":"medium","findings_count":1,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["Pattern 'sqli_interpolated' x1 - Interpolated variable in SQL query string (1 occurrence(s))"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":1,"description":"Functions related to a user's identity, authentication, or session management","recommendations":["Enforce strong passwords and rate-limit login attempts","Add MFA/2FA for privileged accounts","Use wp_verify_nonce() and capability checks together — neither alone is sufficient","Audit any authenticate / determine_current_user filter for bypass paths"],"findings_summary":["Auth hook 'wp_dashboard_setup' - Hooks the 'register_form' authentication/identity flow — verify it cannot be abused to bypass authentication"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/after-submission/(?P<submission_id>[0-9]+)","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":9,"severity":"high","examples":["inc/srfm-export.php:151","inc/form-submit.php:71","inc/export.php:154"],"risk":"REST endpoint with no permission check (9 occurrence(s))"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":2,"severity":"high","examples":["inc/form-submit.php:52","inc/srfm-submit.php:51"],"risk":"Nopriv AJAX handler without nonce verification (2 occurrence(s))"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["inc/payments/stripe/stripe-helper.php:529"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A07":[{"type":"auth_hook","name":"wp_dashboard_setup","risk":"Hooks the 'register_form' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}