{"summary":{"plugin_name":"wp-retina-2x","display_name":"Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF","version":"7.2.6","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":5,"rest_routes":10},"last_analyzed":"2026-11-23T14:19:26.667001","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":60000,"rating":96,"num_ratings":280,"tested":"7.1.5","requires":"6.0","requires_php":"8.1","author":"Jordy Meow","short_description":"Optimize image sizes, regenerate thumbnails, enable retina, convert to WebP/AVIF, or use cloud optimization. An essential image toolkit.","tags":["AVIF","regenerate","retina","thumbnails","webp"],"added":"2012-06-26","last_updated":"2026-11-10 5:36am GMT","metadata_fetched_at":"2026-11-22T04:52:10.406099+00:00","modules_missing":[],"modules_failed":[],"latest_release":"7.2.6"},"security_metrics":{"total_issues":16,"parameters_found":13,"unknown_parameters":1,"headers_accessed":3,"cookies_accessed":1,"wp_hooks":2,"rest_routes":34,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":14,"file_upload_parameters":0,"owasp_findings":{"A01":4,"A03":3,"A04":1,"A05":4,"A08":1},"attack_surface_level":"large","attack_surface_score":83,"tainted_sinks":26,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":13,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":64.2,"rank":178668,"peer_count":498741,"better_than":64.2,"risk_distribution":{"low":100446,"high":177916,"medium":120888,"critical":38739,"minimal":60752}},"executive_summary":null,"vulnerabilities":[{"id":"49569784-8dce-43d5-89c4-c43bf87296dc","title":"WP Retina 2x < 5.2.3 - Cross-Site Scripting (XSS)","created_at":"2018-03-12T07:43:24.000Z","updated_at":"2020-09-22T07:24:40.000Z","published_date":"2018-01-30T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://jvn.jp/en/jp/JVN30636823/index.html","https://plugins.trac.wordpress.org/changeset/1802137/#file1"],"cve":["2018-0511","2018-20983"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"5.2.3","introduced_in":null},{"id":"aba0c4a1-e253-4b5b-b46d-239567567b16","title":"WP Retina 2x < 6.4.6 - Sensitive Information Exposure","created_at":"2023-12-07T21:00:09.000Z","updated_at":"2023-12-07T21:00:12.000Z","published_date":"2023-11-28T00:00:00.000Z","vuln_type":"SENSITIVE DATA DISCLOSURE","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/52c2aae5-17c2-45eb-b55f-bb27555fb1f7"],"cve":["2023-44982"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"6.4.6","introduced_in":null},{"id":"e5d2c926-7818-4e6d-a5bd-06c8ddaabf37","title":"Perfect Images < 7.2.1 - Missing Authorization to Authenticated (Author+) Image Replacement","created_at":"2026-10-30T19:39:44.000Z","updated_at":"2026-10-31T08:39:02.000Z","published_date":"2026-10-30T18:55:09.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/adb730d0-1394-4716-bddd-efa55d6e4bf3"],"cve":["2025-11455"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"7.2.1","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":4,"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":["REST route '/replace' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Reachable 'file_delete' sink x9 - 9 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer","Reachable 'file_write' sink x3 - 3 attacker-reachable 'file_write' 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":"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 'code_exec' sink x3 - 3 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer","Reachable 'file_include' sink x7 - 7 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x1 - Interpolated variable in SQL query string (1 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 x1 - 1 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: 27 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]},{"category":"A05","name":"Security Misconfiguration","severity":"low","findings_count":4,"description":"Missing appropriate security hardening or improperly configured permissions","recommendations":["Remove phpinfo() and error_reporting()/display_errors overrides from shipped code","Never define WP_DEBUG inside a plugin — leave debug configuration to the site owner","Fail closed: do not expose stack traces or environment details to visitors"],"findings_summary":["Misconfiguration in common/admin.php:663 - public function get_phpinfo() {","Misconfiguration in common/admin.php:669 - phpinfo( INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES );","Misconfiguration in common/admin.php:919 - $html .= $this->get_phpinfo();","Misconfiguration in vendor/symfony/process/Process.php:1389 - phpinfo(\\INFO_GENERAL);"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/replace","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"reachability_sink","sink":"file_delete","count":9,"risk":"9 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_write","count":3,"risk":"3 attacker-reachable 'file_write' 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":"code_exec","count":3,"risk":"3 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_include","count":7,"risk":"7 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["common/rest.php:84"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":27,"risk":"27 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A05":[{"type":"misconfiguration","file":"common/admin.php","line":"663","match":"public function get_phpinfo() {","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"common/admin.php","line":"669","match":"phpinfo( INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES );","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"common/admin.php","line":"919","match":"$html .= $this->get_phpinfo();","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"vendor/symfony/process/Process.php","line":"1389","match":"phpinfo(\\INFO_GENERAL);","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":1,"risk":"1 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}]}}