{"summary":{"plugin_name":"google-captcha","display_name":"reCaptcha by BestWebSoft","version":"2.1","risk_level":"medium","risk_score":40.0,"risk_factors":{"static_analysis":10,"owasp":5,"attack_surface":15,"superglobal_density":15,"installs_modifier":-5},"last_analyzed":"2026-11-23T10:46:02.229080","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":100000,"rating":78,"num_ratings":391,"tested":"7.1.5","requires":"6.5","requires_php":"False","author":"bestwebsoft","short_description":"Protect WordPress website forms from spam entries with Google reCAPTCHA.","tags":["anti-spam security","antispam","captcha","captha","recaptcha"],"added":"2014-02-07","last_updated":"2026-11-12 12:48pm GMT","metadata_fetched_at":"2026-11-23T01:08:39.066864+00:00","modules_missing":[],"modules_failed":[],"latest_release":"2.1"},"security_metrics":{"total_issues":31,"parameters_found":76,"unknown_parameters":2,"headers_accessed":5,"cookies_accessed":1,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A02":3,"A03":4,"A04":1,"A07":9,"A08":1,"A10":1},"attack_surface_level":"large","attack_surface_score":78,"tainted_sinks":48,"tainted_sql":0,"tainted_ssrf":2,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":10},"comparison":{"percentile":61.5,"rank":193616,"peer_count":503044,"better_than":61.5,"risk_distribution":{"low":102421,"high":178314,"medium":121685,"critical":38958,"minimal":61666}},"executive_summary":null,"vulnerabilities":[{"id":"89a43bdc-2ad8-43b5-8330-ffe52543fc65","title":"Google Captcha <= 1.12 - Authentication Bypass","created_at":"2015-03-03T11:12:09.000Z","updated_at":"2019-10-21T13:08:48.000Z","published_date":"2015-03-03T00:00:00.000Z","vuln_type":"AUTHBYPASS","references":{"url":["https://jvn.jp/en/jp/JVN55063777/index.html"],"cve":["2015-0890"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.13","introduced_in":null},{"id":"efd816c3-90d4-40bf-850a-0e4c1a756694","title":"Multiple BestWebSoft Plugins - Authenticated Cross-Site Scripting (XSS)","created_at":"2017-04-13T07:34:05.000Z","updated_at":"2020-09-22T07:19:40.000Z","published_date":"2017-04-12T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://www.defensecode.com/advisories/DC-2017-02-014_50_WordPress_plugins_by_BestWebSoft_Advisory.pdf","http://lists.webappsec.org/pipermail/websecurity_lists.webappsec.org/2017-April/010860.html"],"cve":["2017-18487","2017-18556","2017-18558","2017-18565","2017-18490","2017-18491","2017-18492","2017-18493","2017-18494","2017-18496","2017-18500","2017-18501","2017-18502","2017-18505","2017-18517","2017-18518","2017-18527","2017-18528","2017-18529","2017-18530","2017-18532","2017-18537","2017-18542","2017-18557","2017-18566","2017-18564","2017-18562","2017-18516","2017-18590"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.28","introduced_in":null},{"id":"aa633292-d49f-4ddb-99c4-b3ef2a2cb142","title":"reCaptcha by BestWebSoft < 1.79 - CAPTCHA Bypass","created_at":"2025-02-20T23:17:10.000Z","updated_at":"2025-02-20T23:17:10.000Z","published_date":"2025-01-03T00:00:00.000Z","vuln_type":"BYPASS","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/eee2d5e8-a027-486b-93d8-9fe1501f9ed2"],"cve":["2025-24628"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.79","introduced_in":null}],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"critical","findings_count":9,"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 'g-recaptcha-response' - Authentication-related parameter — verify login flow hardening","Parameter 'gglcptch_recaptcha_type' - Authentication-related parameter — verify login flow hardening","Parameter 'gglcptch_recaptcha_version' - Authentication-related parameter — verify login flow hardening","Parameter 'gglcptch_recaptcha_version_new' - Authentication-related parameter — verify login flow hardening","Parameter 'gglcptch_hide_login' - Authentication-related parameter — verify login flow hardening"]},{"category":"A03","name":"Injection","severity":"high","findings_count":4,"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":["phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_POST on echo","Reachable 'file_include' sink x44 - 44 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x10 - Interpolated variable in SQL query string (10 occurrence(s))"]},{"category":"A08","name":"Software and Data Integrity Failures","severity":"medium","findings_count":1,"description":"Code and infrastructure that does not protect against integrity violations — notably insecure deserialization of attacker-controlled data","recommendations":["Never call unserialize() on attacker-controlled data — use json_decode() instead","If deserialization is unavoidable, pass ['allowed_classes' => false]","Verify integrity (signatures/checksums) of updates and imported data"],"findings_summary":["Reachable 'unserialize' sink x2 - 2 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"]},{"category":"A10","name":"Server-Side Request Forgery (SSRF)","severity":"medium","findings_count":1,"description":"Fetching a remote resource without validating the user-supplied URL","recommendations":["Validate user-supplied URLs against an allowlist of hosts before fetching","Use wp_safe_remote_get() rather than wp_remote_get()/cURL for user-influenced URLs","Block requests to internal/loopback/link-local address ranges"],"findings_summary":["Reachable 'ssrf' sink x2 - 2 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":3,"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 'gglcptch_private_key' - Sensitive data exposure","Parameter 'gglcptch_private_key_new' - Sensitive data exposure","Parameter 'gglcptch_force_strong_passwords' - Sensitive data exposure"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 12 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"gglcptch_private_key","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":120,"offset":4671,"snippet":"$_POST['gglcptch_private_key']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":140,"offset":5995,"snippet":"$_POST['gglcptch_private_key']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":154,"offset":7204,"snippet":"$_POST['gglcptch_private_key']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":154,"offset":7272,"snippet":"$_POST['gglcptch_private_key']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"gglcptch_private_key_new","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":133,"offset":5460,"snippet":"$_POST['gglcptch_private_key_new']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":156,"offset":7534,"snippet":"$_POST['gglcptch_private_key_new']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":156,"offset":7606,"snippet":"$_POST['gglcptch_private_key_new']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"gglcptch_force_strong_passwords","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":175,"offset":9962,"snippet":"$_POST['gglcptch_force_strong_passwords']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/google-captcha/tags/2.1/bws_menu/class-bws-settings.php","line":301},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/google-captcha/tags/2.1/includes/allowlist.php","line":54},{"type":"reachability_sink","sink":"file_include","count":44,"risk":"44 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":10,"severity":"critical","examples":["google-captcha.php:343","google-captcha.php:344","google-captcha.php:483"],"risk":"Interpolated variable in SQL query string (10 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":12,"risk":"12 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"parameter","name":"g-recaptcha-response","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/google-captcha.php","line":1127,"offset":40578,"snippet":"$_POST['g-recaptcha-response']"},{"file":"/plugins/google-captcha/tags/2.1/google-captcha.php","line":1127,"offset":40646,"snippet":"$_POST['g-recaptcha-response']"},{"file":"/plugins/google-captcha/tags/2.1/google-captcha.php","line":1190,"offset":42569,"snippet":"$_POST['g-recaptcha-response']"},{"file":"/plugins/google-captcha/tags/2.1/google-captcha.php","line":1195,"offset":42725,"snippet":"$_POST['g-recaptcha-response']"},{"file":"/plugins/google-captcha/tags/2.1/google-captcha.php","line":1218,"offset":43467,"snippet":"$_POST['g-recaptcha-response']"},{"file":"/plugins/google-captcha/tags/2.1/google-captcha.php","line":1223,"offset":43628,"snippet":"$_POST['g-recaptcha-response']"},{"file":"/plugins/google-captcha/tags/2.1/includes/captcha-for-formidable.php","line":150,"offset":4973,"snippet":"$_POST['g-recaptcha-response']"},{"file":"/plugins/google-captcha/tags/2.1/includes/forms.php","line":439,"offset":15755,"snippet":"$_POST['g-recaptcha-response']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"gglcptch_recaptcha_type","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":112,"offset":3942,"snippet":"$_POST['gglcptch_recaptcha_type']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":112,"offset":4024,"snippet":"$_POST['gglcptch_recaptcha_type']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":112,"offset":4160,"snippet":"$_POST['gglcptch_recaptcha_type']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"gglcptch_recaptcha_version","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":144,"offset":6137,"snippet":"$_POST['gglcptch_recaptcha_version']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":144,"offset":6212,"snippet":"$_POST['gglcptch_recaptcha_version']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":157,"offset":7740,"snippet":"$_POST['gglcptch_recaptcha_version']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":157,"offset":7858,"snippet":"$_POST['gglcptch_recaptcha_version']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"gglcptch_recaptcha_version_new","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":158,"offset":8027,"snippet":"$_POST['gglcptch_recaptcha_version_new']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":158,"offset":8136,"snippet":"$_POST['gglcptch_recaptcha_version_new']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"gglcptch_hide_login","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":189,"offset":10901,"snippet":"$_POST['gglcptch_hide_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"gglcptch_slug_login","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":190,"offset":10971,"snippet":"$_POST['gglcptch_slug_login']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":190,"offset":11038,"snippet":"$_POST['gglcptch_slug_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"gglcptch_login_error_redirection","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":198,"offset":11592,"snippet":"$_POST['gglcptch_login_error_redirection']"},{"file":"/plugins/google-captcha/tags/2.1/includes/class-gglcptch-settings-tabs.php","line":198,"offset":11672,"snippet":"$_POST['gglcptch_login_error_redirection']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"g-recaptcha-response-check","locations":{"POST":[{"file":"/plugins/google-captcha/tags/2.1/includes/forms.php","line":388,"offset":14016,"snippet":"$_POST['g-recaptcha-response-check']"},{"file":"/plugins/google-captcha/tags/2.1/includes/forms.php","line":401,"offset":14409,"snippet":"$_POST['g-recaptcha-response-check']"},{"file":"/plugins/google-captcha/tags/2.1/includes/forms.php","line":401,"offset":14460,"snippet":"$_POST['g-recaptcha-response-check']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"validate_password_reset","risk":"Hooks the 'password_reset' authentication/identity flow — verify it cannot be abused to bypass authentication"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":2,"risk":"2 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}],"A10":[{"type":"reachability_sink","sink":"ssrf","count":2,"risk":"2 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"}]}}