{"summary":{"plugin_name":"user-ip-and-location","display_name":"User IP and Location","version":"5.0.0","risk_level":"low","risk_score":17.0,"risk_factors":{"owasp":5,"unauth_ratio":5,"superglobal_density":5,"rest_routes":2},"last_analyzed":"2026-11-23T13:41:22.541067","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":84,"num_ratings":9,"tested":"7.0.2","requires":"5.0","requires_php":"7.2","author":"Sunny Kumar","short_description":"Want to show your website visitors their IP address, location, and other cool details? This plugin makes it super easy! Now works perfectly with cachi …","tags":["country","geolocation","ip address","ip-api","visitor location"],"added":"2020-03-24","last_updated":"2026-06-18 2:19pm GMT","metadata_fetched_at":"2026-08-02T09:55:39.024117+00:00","modules_missing":null,"modules_failed":null,"latest_release":"5.0.0"},"security_metrics":{"total_issues":0,"parameters_found":4,"unknown_parameters":0,"headers_accessed":4,"cookies_accessed":0,"wp_hooks":2,"rest_routes":2,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A03":1},"attack_surface_level":"minimal","attack_surface_score":10,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":2},"comparison":{"percentile":79.7,"rank":91479,"peer_count":450511,"better_than":79.7,"risk_distribution":{"medium":111442,"minimal":48576,"high":174849,"low":77933,"critical":37711}},"executive_summary":null,"vulnerabilities":[{"id":"df94efa0-e59d-4ef7-ac68-2126d1cc9bc5","title":"User IP and Location < 2.2.1 - Contributor+ Stored XSS","created_at":"2023-05-18T13:14:51.000Z","updated_at":"2023-05-18T13:14:51.000Z","published_date":"2023-04-28T00:00:00.000Z","description":null,"poc":null,"vuln_type":"XSS","references":{"cve":["2023-30780"]},"cvss":null,"verified":false,"fixed_in":"2.2.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 '/data' - 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' x1 - Interpolated variable in SQL query string (1 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/data","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":["includes/functions-developer.php:41"],"risk":"REST endpoint with no permission check (1 occurrence(s))"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["admin/class-admin-settings.php:181"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}]}}