{"summary":{"plugin_name":"wp-layouts","display_name":"WP Layouts","version":"0.6.22","risk_level":"high","risk_score":55.0,"risk_factors":{"staleness":20,"static_analysis":5,"owasp":5,"attack_surface":15,"superglobal_density":10},"last_analyzed":"2026-11-23T11:59:39.274641","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":86,"num_ratings":6,"tested":"6.5.7","requires":"5.0","requires_php":"False","author":"WP Zone","short_description":"Save, store and import layouts instantly, all in one place with the click of a button!","tags":["export","import","layout","layouts","template"],"added":"2020-05-29","last_updated":"2024-05-14 12:55pm GMT","metadata_fetched_at":null,"modules_missing":null,"modules_failed":null,"latest_release":null},"security_metrics":{"total_issues":5,"parameters_found":60,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":19,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A02":1,"A03":5,"A06":1},"attack_surface_level":"large","attack_surface_score":79,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":24.0,"rank":35727,"peer_count":47011,"better_than":24.0,"risk_distribution":{"high":22704,"medium":14011,"critical":2469,"low":5515,"minimal":2311,"Unknown":1}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":5,"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","phpcs_security: Easy XSS detected because of direct user input with $_POST on echo","phpcs_security: Easy XSS detected because of direct user input with $_POST on echo","phpcs_security: Easy XSS detected because of direct user input with $_POST on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":1,"description":"Failures related to cryptography which often lead to exposure of sensitive data","recommendations":["Never store passwords or API keys in plain text","Use WordPress options API with encryption for sensitive data","Implement proper key management practices","Use HTTPS for all sensitive data transmission"],"findings_summary":["Parameter 'ags_layouts_password' - Sensitive data exposure"]},{"category":"A06","name":"Vulnerable and Outdated Components","severity":"low","findings_count":1,"description":"Using components with known vulnerabilities, or shipping releases that are stale on the upstream directory","recommendations":["Update the plugin to its latest stable release","Replace components that are no longer maintained upstream","Subscribe to vulnerability feeds for plugins you depend on (WPScan, Wordfence)","Audit bundled JS/PHP libraries for known CVEs"],"findings_summary":["Stale component: last updated 2024-05-14 12:55pm GMT (737 days ago)"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"ags_layouts_password","locations":{"POST":[{"file":"/plugins/wp-layouts/tags/0.6.22/includes/settings-page.php","line":9,"offset":312,"snippet":"$_POST['ags_layouts_password']"},{"file":"/plugins/wp-layouts/tags/0.6.22/includes/settings-page.php","line":13,"offset":511,"snippet":"$_POST['ags_layouts_password']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/wp-layouts/tags/0.6.22/includes/export-ajax.php","line":85},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/wp-layouts/tags/0.6.22/includes/export-ajax.php","line":96},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/wp-layouts/tags/0.6.22/includes/export-ajax.php","line":96},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/wp-layouts/tags/0.6.22/includes/export-ajax.php","line":96},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/wp-layouts/tags/0.6.22/integrations/SiteImporter/edit-page.php","line":53}],"A06":[{"type":"stale_component","last_updated":"2024-05-14 12:55pm GMT","age_days":737,"risk":"Plugin has not been updated upstream in 2+ years (737 days) — increased risk of unpatched vulnerabilities"}]}}