{"summary":{"plugin_name":"wp-edit","display_name":"WP Edit","version":"4.0.4","risk_level":"critical","risk_score":80.0,"risk_factors":{"staleness":40,"static_analysis":10,"owasp":5,"attack_surface":15,"superglobal_density":10},"last_analyzed":"2026-11-23T11:01:26.258263","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":40000,"rating":80,"num_ratings":159,"tested":"4.9.29","requires":"3.9","requires_php":"False","author":"Josh","short_description":"Take complete control over the WordPress content editor.","tags":["button","buttons","editor","wp edit","wpedit"],"added":"2014-03-23","last_updated":"2018-10-15 8:00pm GMT","metadata_fetched_at":"2026-07-19T05:49:27.864036+00:00","modules_missing":null,"modules_failed":null,"latest_release":null},"security_metrics":{"total_issues":27,"parameters_found":51,"unknown_parameters":1,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":0,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A03":3,"A04":1,"A06":1},"attack_surface_level":"large","attack_surface_score":51,"tainted_sinks":4,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":2,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":3.4,"rank":49157,"peer_count":50866,"better_than":3.4,"risk_distribution":{"high":24556,"medium":15176,"critical":2642,"low":5986,"minimal":2505,"Unknown":1}},"executive_summary":"wp‑edit version 4.0.4, last updated in 2018, is classified as high risk with a score of 55.0, and its seven‑year lapse in updates indicates it is likely abandoned, exposing the site to unpatched vulnerabilities that could lead to data breaches, site compromise, or compliance violations. The assessment found six security issues, including five A01 injection problems and one A03 misconfiguration, which directly threaten the confidentiality, integrity, and availability of the business’s WordPress environment. Although no active exploitation has been reported, the high risk rating underscores the potential for significant operational and regulatory impact if the plugin remains in use.","vulnerabilities":[],"recommendations":[{"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":["Parameter 'jquery_theme' - Parameter name suggests injection sink — verify sanitization","Reachable 'code_exec' sink x1 - 1 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer","Reachable 'file_include' sink x1 - 1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":1,"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 'file_read' sink x2 - 2 attacker-reachable 'file_read' 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: 7 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]},{"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 2018-10-15 8:00pm GMT (2775 days ago)"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"file_read","count":2,"risk":"2 attacker-reachable 'file_read' sink(s) found by the reachability analyzer"}],"A03":[{"type":"parameter","name":"jquery_theme","locations":{"POST":[{"file":"/plugins/wp-edit/tags/4.0.4/main.php","line":2283,"offset":120813,"snippet":"$_POST['jquery_theme']"},{"file":"/plugins/wp-edit/tags/4.0.4/main.php","line":2283,"offset":120839,"snippet":"$_POST['jquery_theme']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"reachability_sink","sink":"code_exec","count":1,"risk":"1 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_include","count":1,"risk":"1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":7,"risk":"7 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A06":[{"type":"stale_component","last_updated":"2018-10-15 8:00pm GMT","age_days":2775,"risk":"Plugin has not been updated upstream in 7+ years (2775 days) — increased risk of unpatched vulnerabilities"}]}}