{"summary":{"plugin_name":"search-regex","display_name":"Search Regex","version":"3.5.1","risk_level":"low","risk_score":10.0,"risk_factors":{"owasp":5,"rest_routes":10,"installs_modifier":-5},"last_analyzed":"2026-11-23T12:54:44.573851","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":100000,"rating":94,"num_ratings":101,"tested":"7.1.4","requires":"6.6","requires_php":"7.4","author":"John Godley","short_description":"Search Regex adds a powerful set of search and replace functions to WordPress posts, pages, custom post types, and other data.","tags":["database","regex","regular expression","replace","search"],"added":"2007-09-17","last_updated":"2026-10-06 1:37pm GMT","metadata_fetched_at":"2026-11-01T02:16:52.371089+00:00","modules_missing":null,"modules_failed":null,"latest_release":"3.5.1"},"security_metrics":{"total_issues":0,"parameters_found":6,"unknown_parameters":0,"headers_accessed":1,"cookies_accessed":0,"wp_hooks":2,"rest_routes":13,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":1,"A04":1},"attack_surface_level":"medium","attack_surface_score":34,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":3},"comparison":{"percentile":88.0,"rank":59108,"peer_count":492709,"better_than":88.0,"risk_distribution":{"high":177540,"critical":38634,"medium":119804,"low":97624,"minimal":59107}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"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":"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: 2 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":3,"severity":"critical","examples":["includes/sql/join/join-meta.php:144","includes/sql/join/class-meta.php:128","models/source.php:218"],"risk":"Interpolated variable in SQL query string (3 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":2,"risk":"2 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}]}}