{"summary":{"plugin_name":"better-search-replace","display_name":"Better Search Replace","version":"1.4.11","risk_level":"minimal","risk_score":5.0,"risk_factors":{"static_analysis":5,"owasp":5,"superglobal_density":5,"installs_modifier":-10},"last_analyzed":"2026-11-23T11:46:15.191567","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":1000000,"rating":86,"num_ratings":546,"tested":"7.1.3","requires":"6.2","requires_php":"8.1","author":"WP Engine","short_description":"A simple plugin to update URLs or other text in a database.","tags":["search and replace","search replace","search replace database","update database urls","update live url"],"added":"2015-01-06","last_updated":"2026-08-25 1:48pm GMT","metadata_fetched_at":"2026-07-12T14:02:44.441366+00:00","modules_missing":null,"modules_failed":null,"latest_release":"1.4.11"},"security_metrics":{"total_issues":1,"parameters_found":8,"unknown_parameters":0,"headers_accessed":0,"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":{"A03":1,"A04":1,"A08":1},"attack_surface_level":"minimal","attack_surface_score":10,"tainted_sinks":4,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":93.6,"rank":28545,"peer_count":443361,"better_than":93.6,"risk_distribution":{"medium":110183,"minimal":46673,"high":174507,"low":74410,"critical":37588}},"executive_summary":null,"vulnerabilities":[{"id":"229a065e-1062-44d4-818d-29aa3b6b6d41","title":"Better Search and Replace < 1.4.1 - Admin+ SQLi","created_at":"2022-08-01T18:12:28.000Z","updated_at":"2023-05-03T07:00:57.000Z","published_date":"2022-08-01T00:00:00.000Z","vuln_type":"SQLI","references":{"cve":["2022-2593"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.4.1","introduced_in":null},{"id":"c097fb2c-7805-48f6-9903-ebf22b7901b7","title":"Better Search Replace < 1.4.5 - Unauthenticated PHP Object Injection","created_at":"2024-01-24T20:02:25.000Z","updated_at":"2024-01-24T20:02:25.000Z","published_date":"2024-01-24T00:00:00.000Z","vuln_type":"OBJECT INJECTION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/895f2db1-a2ed-4a17-a4f6-cd13ee8f84af"],"cve":["2023-6933"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.4.5","introduced_in":null}],"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":["Reachable 'file_include' sink x2 - 2 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"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":"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: 3 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"reachability_sink","sink":"file_include","count":2,"risk":"2 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":3,"risk":"3 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":2,"risk":"2 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}]}}