{"summary":{"plugin_name":"woocommerce-ajax-filters","display_name":"Advanced AJAX Product Filters","version":"3.5","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"superglobal_density":5,"filter_hooks":5},"last_analyzed":"2026-11-23T14:36:57.613242","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":50000,"rating":94,"num_ratings":387,"tested":"7.1.5","requires":"6.3","requires_php":"7.4","author":"BeRocket","short_description":"Fast and flexible AJAX product filters for WooCommerce. Filter by categories, attributes, price, tags, rating, and more. No page reloads.","tags":["ajax product filters","category filter","product filters","wc filters","woocommerce filters"],"added":"2014-12-10","last_updated":"2026-11-16 7:03pm GMT","metadata_fetched_at":"2026-11-22T20:56:52.409416+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.5"},"security_metrics":{"total_issues":48,"parameters_found":68,"unknown_parameters":2,"headers_accessed":3,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":1,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A03":4,"A04":1,"A08":1,"A10":1},"attack_surface_level":"large","attack_surface_score":70,"tainted_sinks":107,"tainted_sql":0,"tainted_ssrf":1,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":7},"comparison":{"percentile":63.9,"rank":181021,"peer_count":501863,"better_than":63.9,"risk_distribution":{"low":101872,"high":178187,"medium":121506,"critical":38914,"minimal":61384}},"executive_summary":null,"vulnerabilities":[{"id":"c5efdac5-06ac-4baa-8c2f-0dd7e6dc1050","title":"Advanced AJAX Product Filters < 1.3.7 - Unauthenticated Plugin Settings Update","created_at":"2019-09-18T19:34:41.000Z","updated_at":"2019-11-28T06:32:06.000Z","published_date":"2019-09-18T00:00:00.000Z","vuln_type":"PRIVESC","references":{"url":["https://labs.sucuri.net/unauthenticated-settings-update-in-woocommerce-ajax-filters/"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.3.7","introduced_in":null},{"id":"b92ec5f7-d6a8-476f-a01e-21001a558914","title":"Advanced AJAX Product Filters < 1.5.4.7 - Unauthenticated Reflected Cross-Site Scripting (XSS)","created_at":"2021-06-17T09:46:59.000Z","updated_at":"2021-06-25T07:13:31.000Z","published_date":"2021-06-09T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2021-24432"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.5.4.7","introduced_in":null},{"id":"b288f0be-e224-43fe-826d-ba46ab8001cd","title":"Advanced AJAX Product Filters < 1.6.8.2 - Reflected Cross-Site Scripting","created_at":"2025-02-27T16:31:51.000Z","updated_at":"2025-02-28T04:31:36.000Z","published_date":"2025-02-27T16:18:52.000Z","vuln_type":"XSS","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/94b289bf-0ef1-47d1-98bd-8f7bb753c2bc"],"cve":["2025-1505"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.6.8.2","introduced_in":null},{"id":"74a177fb-f6e6-46f5-bc88-97cf95e96d20","title":"Advanced AJAX Product Filters < 3.1.9.7 - Author+ PHP Object Injection","created_at":"2026-02-18T02:31:41.000Z","updated_at":"2026-02-18T08:38:00.000Z","published_date":"2026-02-17T00:00:00.000Z","vuln_type":"OBJECT INJECTION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/29e76d57-217f-4f21-8bc6-a86290783a19"],"cve":["2026-1426"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.1.9.7","introduced_in":null},{"id":"447d8bc8-841d-4622-9396-9676eec43598","title":"Advanced AJAX Product Filters < 3.2.1 - Unauthenticated Stored Cross-Site Scripting","created_at":"2026-08-15T22:37:32.000Z","updated_at":"2026-08-15T22:37:32.000Z","published_date":"2026-08-04T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/8c8f6f49-df06-48c5-885e-9a835dc5d87b"],"cve":["2026-66439"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.2.1","introduced_in":null}],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":4,"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 $_POST on echo","Reachable 'file_include' sink x96 - 96 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Reachable 'dynamic_call' sink x2 - 2 attacker-reachable 'dynamic_call' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x4 - Interpolated variable in SQL query string (4 occurrence(s))"]},{"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":["Reachable 'option_update' sink x2 - 2 attacker-reachable 'option_update' sink(s) found by the reachability analyzer","Pattern 'nopriv_no_nonce' x3 - Nopriv AJAX handler without nonce verification (3 occurrence(s))"]},{"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 x5 - 5 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"]},{"category":"A10","name":"Server-Side Request Forgery (SSRF)","severity":"medium","findings_count":1,"description":"Fetching a remote resource without validating the user-supplied URL","recommendations":["Validate user-supplied URLs against an allowlist of hosts before fetching","Use wp_safe_remote_get() rather than wp_remote_get()/cURL for user-influenced URLs","Block requests to internal/loopback/link-local address ranges"],"findings_summary":["Reachable 'ssrf' sink x1 - 1 attacker-reachable 'ssrf' 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: 97 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"option_update","count":2,"risk":"2 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":3,"severity":"high","examples":["addons/deprecated_filters/deprecated_filters.php:84","includes/compatibility/flatsome-ux-builder.php:12","includes/compatibility/js_composer.php:12"],"risk":"Nopriv AJAX handler without nonce verification (3 occurrence(s))"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/woocommerce-ajax-filters/tags/3.5/includes/widget_functions.php","line":156},{"type":"reachability_sink","sink":"file_include","count":96,"risk":"96 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"dynamic_call","count":2,"risk":"2 attacker-reachable 'dynamic_call' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":4,"severity":"critical","examples":["uninstall.php:45","addons/additional_tables/additional_tables.php:607","addons/custom_postmeta/additional_tables.php:280"],"risk":"Interpolated variable in SQL query string (4 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":97,"risk":"97 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":5,"risk":"5 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}],"A10":[{"type":"reachability_sink","sink":"ssrf","count":1,"risk":"1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"}]}}