{"summary":{"plugin_name":"custom-sidebars","display_name":"Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager","version":"3.38","risk_level":"low","risk_score":25.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"vuln_history":5,"superglobal_density":5,"installs_modifier":-5},"last_analyzed":"2026-11-23T11:20:02.891448","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":100000,"rating":94,"num_ratings":1028,"tested":"7.1","requires":"4.6","requires_php":"5.6","author":"WebFactory","short_description":"Flexible sidebars for custom classic widget configurations on any page or post. Create custom sidebars with ease!","tags":["classic widgets","custom sidebar","dynamic widgets","sidebar","widget"],"added":"2010-08-23","last_updated":"2026-08-16 12:45pm GMT","metadata_fetched_at":"2026-08-17T07:00:35.670823+00:00","modules_missing":null,"modules_failed":null,"latest_release":"3.38"},"security_metrics":{"total_issues":8,"parameters_found":25,"unknown_parameters":2,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":6,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A03":1,"A04":1},"attack_surface_level":"medium","attack_surface_score":31,"tainted_sinks":22,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":1,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":89.5,"rank":10649,"peer_count":101019,"better_than":89.5,"risk_distribution":{"medium":29673,"high":49359,"low":11602,"critical":5604,"minimal":4778,"Unknown":3}},"executive_summary":null,"vulnerabilities":[{"id":"9539c0ea-1a75-4509-9415-30598fa78c12","title":"Custom Sidebars 2.1.0.1 - XSS","created_at":"2015-09-23T18:51:43.000Z","updated_at":"2019-10-31T21:48:52.000Z","published_date":"2015-01-13T00:00:00.000Z","description":null,"poc":null,"vuln_type":"XSS","references":{"url":["https://security.szurek.pl/custom-sidebars-2101-xss.html"]},"cvss":null,"fixed_in":"2.1.0.2","introduced_in":null},{"id":"fc977cfb-c613-4ed6-8126-cb07b63adb13","title":"Custom Sidebars < 3.1.0 - CSRF","created_at":"2019-08-24T14:57:08.000Z","updated_at":"2020-09-22T07:36:19.000Z","published_date":"2017-11-07T00:00:00.000Z","description":null,"poc":null,"vuln_type":"CSRF","references":{"cve":["2017-18510"]},"cvss":null,"fixed_in":"3.1.0","introduced_in":null},{"id":"cb16cf67-8c76-49d3-ac0b-6da9468cc5da","title":"Custom Sidebars < 3.0.8.1 - CSRF","created_at":"2019-08-24T14:58:00.000Z","updated_at":"2020-09-22T07:36:20.000Z","published_date":"2017-06-29T00:00:00.000Z","description":null,"poc":null,"vuln_type":"CSRF","references":{"cve":["2017-18511"]},"cvss":null,"fixed_in":"3.0.8.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":["Reachable 'option_update' sink x4 - 4 attacker-reachable 'option_update' sink(s) found by the reachability analyzer","Reachable 'file_read' sink x1 - 1 attacker-reachable 'file_read' sink(s) found by the reachability analyzer"]},{"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 x15 - 15 attacker-reachable 'file_include' 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: 18 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"option_update","count":4,"risk":"4 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_read","count":1,"risk":"1 attacker-reachable 'file_read' sink(s) found by the reachability analyzer"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":15,"risk":"15 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":18,"risk":"18 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}]}}