{"summary":{"plugin_name":"image-sizes","display_name":"ThumbPress – Compress Images, Manage Thumbnails, Detect Image Issues, WebP/AVIF, Lazy Loading, Hotlinking & More","version":"6.10.2","risk_level":"medium","risk_score":45.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":5,"superglobal_density":5,"filter_hooks":5,"rest_routes":10},"last_analyzed":"2026-12-06T02:50:57.356151","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":74,"num_ratings":122,"tested":"7.1.5","requires":"6.0","requires_php":"7.4","author":"Codexpert, Inc","short_description":"All-in-one WordPress image optimization: disable thumbnails, compress, convert to WebP & AVIF, clean your media library, and offload images to a CDN.","tags":["compress images","Image CDN","image optimization","thumbnail manager","webp converter"],"added":"2016-08-02","last_updated":"2026-11-19 3:35am GMT","metadata_fetched_at":"2026-11-27T04:51:15.833320+00:00","modules_missing":[],"modules_failed":[],"latest_release":"6.11.0"},"security_metrics":{"total_issues":10,"parameters_found":25,"unknown_parameters":2,"headers_accessed":2,"cookies_accessed":0,"wp_hooks":2,"rest_routes":36,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":3,"A03":3,"A04":1,"A10":1},"attack_surface_level":"large","attack_surface_score":99,"tainted_sinks":21,"tainted_sql":1,"tainted_ssrf":1,"tainted_file_ops":4,"auth_bypass_sinks":0,"dangerous_patterns":2},"comparison":{"percentile":50.8,"rank":244816,"peer_count":497521,"better_than":50.8,"risk_distribution":{"low":99825,"high":177860,"medium":120694,"critical":38749,"minimal":60393}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":3,"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 'redirect' sink x4 - 4 attacker-reachable 'redirect' sink(s) found by the reachability analyzer","Reachable 'file_delete' sink x4 - 4 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer","Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))"]},{"category":"A03","name":"Injection","severity":"high","findings_count":3,"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 x9 - 9 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Reachable 'sql' sink x1 - 1 attacker-reachable 'sql' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x1 - Interpolated variable in SQL query string (1 occurrence(s))"]},{"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: 15 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"redirect","count":4,"risk":"4 attacker-reachable 'redirect' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_delete","count":4,"risk":"4 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["libraries/action-scheduler/lib/WP_Async_Request.php:69"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":9,"risk":"9 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"sql","count":1,"risk":"1 attacker-reachable 'sql' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["src/AJAX.php:58"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":15,"risk":"15 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A10":[{"type":"reachability_sink","sink":"ssrf","count":1,"risk":"1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"}]}}