{"summary":{"plugin_name":"xo-security","display_name":"XO Security","version":"3.11.0","risk_level":"high","risk_score":50.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":15,"filter_hooks":15},"last_analyzed":"2026-11-23T12:04:50.835376","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":30000,"rating":100,"num_ratings":11,"tested":"7.0.2","requires":"6.0","requires_php":"7.2","author":"ishitaka","short_description":"XO Security is a plugin to enhance login related security.","tags":["Brute Force","login","maintenance","security","two factor"],"added":"2016-01-18","last_updated":"2026-07-19 10:16am GMT","metadata_fetched_at":"2026-08-02T06:25:02.859322+00:00","modules_missing":null,"modules_failed":null,"latest_release":"3.11.0"},"security_metrics":{"total_issues":12,"parameters_found":29,"unknown_parameters":0,"headers_accessed":7,"cookies_accessed":0,"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":1,"A03":3,"A04":1,"A07":6},"attack_surface_level":"medium","attack_surface_score":31,"tainted_sinks":19,"tainted_sql":2,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":3,"dangerous_patterns":31},"comparison":{"percentile":47.2,"rank":237491,"peer_count":450012,"better_than":47.2,"risk_distribution":{"medium":111320,"minimal":48462,"high":174818,"low":77708,"critical":37704}},"executive_summary":null,"vulnerabilities":[{"id":"cebec90e-0453-4d06-8e83-ec898984c3a5","title":"XO Security < 1.5.3 - XSS","created_at":"2019-08-21T08:27:35.000Z","updated_at":"2020-09-22T07:30:48.000Z","published_date":"2017-02-07T00:00:00.000Z","description":null,"poc":null,"vuln_type":"XSS","references":{"cve":["2017-18541"]},"cvss":null,"fixed_in":"1.5.3","introduced_in":null}],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"critical","findings_count":6,"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 'loginlog' - Authentication-related parameter — verify login flow hardening","Parameter 'xo_security_captcha' - Authentication-related parameter — verify login flow hardening","Auth hook 'authenticate' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_authenticate_user' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"category":"A03","name":"Injection","severity":"high","findings_count":3,"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":["Reachable 'file_include' sink x14 - 14 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Reachable 'sql' sink x2 - 2 attacker-reachable 'sql' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x31 - Interpolated variable in SQL query string (31 occurrence(s))"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":1,"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 'xo_security_two_factor_secret_key' - 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: 22 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"xo_security_two_factor_secret_key","locations":{"GET":[{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security-two-factor.php","line":110,"offset":2489,"snippet":"$_REQUEST['xo_security_two_factor_secret_key']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security-two-factor.php","line":112,"offset":2646,"snippet":"$_REQUEST['xo_security_two_factor_secret_key']"}],"POST":[{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security-two-factor.php","line":110,"offset":2489,"snippet":"$_REQUEST['xo_security_two_factor_secret_key']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security-two-factor.php","line":112,"offset":2646,"snippet":"$_REQUEST['xo_security_two_factor_secret_key']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security-two-factor.php","line":203,"offset":6177,"snippet":"$_POST['xo_security_two_factor_secret_key']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security-two-factor.php","line":207,"offset":6350,"snippet":"$_POST['xo_security_two_factor_secret_key']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":14,"risk":"14 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"sql","count":2,"risk":"2 attacker-reachable 'sql' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":31,"severity":"critical","examples":["inc/class-xo-security-admin.php:1047","inc/main.php:46","inc/main.php:48"],"risk":"Interpolated variable in SQL query string (31 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":22,"risk":"22 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"parameter","name":"loginlog","locations":{"GET":[{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-login-log-list-table.php","line":318,"offset":9892,"snippet":"$_REQUEST['loginlog']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-login-log-list-table.php","line":318,"offset":9948,"snippet":"$_REQUEST['loginlog']"}],"POST":[{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-login-log-list-table.php","line":318,"offset":9892,"snippet":"$_REQUEST['loginlog']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-login-log-list-table.php","line":318,"offset":9948,"snippet":"$_REQUEST['loginlog']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"xo_security_captcha","locations":{"GET":[{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security.php","line":599,"offset":19610,"snippet":"$_REQUEST['xo_security_captcha']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security.php","line":600,"offset":19767,"snippet":"$_REQUEST['xo_security_captcha']"}],"POST":[{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security.php","line":599,"offset":19610,"snippet":"$_REQUEST['xo_security_captcha']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security.php","line":600,"offset":19767,"snippet":"$_REQUEST['xo_security_captcha']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security.php","line":1333,"offset":43184,"snippet":"$_POST['xo_security_captcha']"},{"file":"/plugins/xo-security/tags/3.11.0/inc/class-xo-security.php","line":1334,"offset":43273,"snippet":"$_POST['xo_security_captcha']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"authenticate","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_authenticate_user","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"reachability_sink","sink":"auth_bypass","count":3,"risk":"3 attacker-reachable 'auth_bypass' sink(s) found by the reachability analyzer"}]}}