{"summary":{"plugin_name":"custom-contact-forms","display_name":"Custom Contact Forms","version":"7.20.0","risk_level":"medium","risk_score":45.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"superglobal_density":5,"filter_hooks":5,"rest_routes":5},"last_analyzed":"2026-11-23T12:06:01.089297","removed_from_directory":false,"closed_reason":"not-found","closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":6000,"rating":70,"num_ratings":171,"tested":"7.1.5","requires":"5.0","requires_php":"7.4","author":"outlawgt","short_description":"Build powerful custom forms with drag and drop. Saved entries, dashboard, signatures, Mailchimp, webhooks, and modern spam protection.","tags":["contact form","custom form","form builder","spam protection","turnstile"],"added":"2010-07-22","last_updated":"2026-11-03 4:15pm GMT","metadata_fetched_at":"2026-11-22T21:31:56.698414+00:00","modules_missing":[],"modules_failed":[],"latest_release":"7.20.0"},"security_metrics":{"total_issues":3,"parameters_found":62,"unknown_parameters":2,"headers_accessed":5,"cookies_accessed":0,"wp_hooks":2,"rest_routes":6,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":5,"file_upload_parameters":1,"owasp_findings":{"A01":2,"A03":1,"A07":2},"attack_surface_level":"large","attack_surface_score":81,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":4},"comparison":{"percentile":50.5,"rank":248608,"peer_count":501863,"better_than":50.5,"risk_distribution":{"low":101872,"high":178187,"medium":121506,"critical":38914,"minimal":61384}},"executive_summary":null,"vulnerabilities":[{"id":"5c387ec5-a3a5-4a31-9fed-4f7930b9d5dc","title":"Custom Contact Forms < 5.1.0.3 - Authenticated Cross Site Scripting","created_at":"2014-08-01T10:58:43.000Z","updated_at":"2020-09-29T20:40:06.000Z","published_date":"2014-08-01T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://packetstormsecurity.com/files/112616/"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"5.1.0.3","introduced_in":null},{"id":"d1986540-1161-4972-9fae-76c07546a21a","title":"Custom Contact Forms < 5.1.0.4 - Unauthenticated Database Import/Export","created_at":"2014-09-17T17:42:28.000Z","updated_at":"2020-09-30T06:18:01.000Z","published_date":"2014-09-17T00:00:00.000Z","vuln_type":"AUTHBYPASS","references":{"url":["https://blog.sucuri.net/2014/08/database-takeover-in-custom-contact-forms.html"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"5.1.0.4","introduced_in":null},{"id":"479b9b0e-ea65-4474-afeb-d1e5182a5751","title":"Custom Contact Forms < 7.16.1 - Missing Authorization to Authenticated (Contributor+) Arbitrary Post Deletion and Post Meta Modification via Nested 'fields[].ID' / 'choices[].ID' Parameters","created_at":"2026-09-04T20:37:26.000Z","updated_at":"2026-09-05T08:37:13.000Z","published_date":"2026-09-04T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/9a34ec54-7629-4c14-b5e0-d47f5d3a72ce"],"cve":["2026-75018"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"7.16.1","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":2,"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 '/submit' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'rest_no_permission' x1 - REST endpoint with no permission check (1 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' x3 - Interpolated variable in SQL query string (3 occurrence(s))"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":2,"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":["Parameter 'h-captcha-response' - Authentication-related parameter — verify login flow hardening","Parameter '_CAPTCHA' - Authentication-related parameter — verify login flow hardening"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/submit","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":1,"severity":"high","examples":["wp-api/tests/test-rest-server.php:148"],"risk":"REST endpoint with no permission check (1 occurrence(s))"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":3,"severity":"critical","examples":["classes/class-ccf-upgrader.php:27","classes/class-ccf-upgrader.php:29","classes/class-ccf-upgrader.php:88"],"risk":"Interpolated variable in SQL query string (3 occurrence(s))"}],"A07":[{"type":"parameter","name":"h-captcha-response","locations":{"POST":[{"file":"/plugins/custom-contact-forms/tags/7.20.0/classes/class-ccf-form-handler.php","line":856,"offset":25613,"snippet":"$_POST['h-captcha-response']"},{"file":"/plugins/custom-contact-forms/tags/7.20.0/classes/class-ccf-form-handler.php","line":856,"offset":25679,"snippet":"$_POST['h-captcha-response']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"_CAPTCHA","locations":{"GET":[{"file":"/plugins/custom-contact-forms/tags/7.20.0/vendor/abeautifulsite/simple-php-captcha/simple-php-captcha.php","line":112,"offset":4498,"snippet":"$_GET['_CAPTCHA']"}]},"risk":"Authentication-related parameter — verify login flow hardening"}]}}