{"summary":{"plugin_name":"wps-visitor-counter","display_name":"WPS Visitor Counter","version":"1.4.9","risk_level":"medium","risk_score":40.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":5,"superglobal_density":15},"last_analyzed":"2026-11-23T13:56:17.241597","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":78,"num_ratings":8,"tested":"6.9.4","requires":"5.0","requires_php":"7.4","author":"techmix","short_description":"Display website visitor statistics with widget, shortcode, and Gutenberg block support.","tags":["blog stats","Hit Counter","traffic statistics","visitor counter","website counter"],"added":"2019-05-25","last_updated":"2026-01-21 7:29pm GMT","metadata_fetched_at":null,"modules_missing":null,"modules_failed":null,"latest_release":null},"security_metrics":{"total_issues":6,"parameters_found":28,"unknown_parameters":0,"headers_accessed":3,"cookies_accessed":0,"wp_hooks":1,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":6},"attack_surface_level":"medium","attack_surface_score":29,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":91.1,"rank":35213,"peer_count":393581,"better_than":91.1,"risk_distribution":{"high":176721,"medium":109429,"minimal":35212,"low":55914,"critical":16305}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"critical","findings_count":6,"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 $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo"]}],"owasp_findings":{"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wps-visitor-counter/tags/1.4.9/wps-visitor-counter-options-general.php","line":41},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wps-visitor-counter/tags/1.4.9/wps-visitor-counter-options-general.php","line":41},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wps-visitor-counter/tags/1.4.9/wps-visitor-counter-options-general.php","line":111},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wps-visitor-counter/tags/1.4.9/wps-visitor-counter-options-general.php","line":111},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wps-visitor-counter/tags/1.4.9/wps-visitor-counter-options-general.php","line":136},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wps-visitor-counter/tags/1.4.9/wps-visitor-counter-options-general.php","line":136}]}}