{"summary":{"plugin_name":"wpfront-user-role-editor","display_name":"WPFront User Role Editor","version":"4.2.6","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"superglobal_density":10},"last_analyzed":"2026-11-23T13:32:42.088975","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":30000,"rating":90,"num_ratings":65,"tested":"7.1.4","requires":"5.1","requires_php":"7.0","author":"Syam Mohan","short_description":"Easily allows you to manage WordPress user roles. You can create, edit, delete and manage capabilities, also copy existing roles.","tags":["capability manager","role editor","security","User Access","user permissions"],"added":"2014-03-02","last_updated":"2026-11-12 12:34pm GMT","metadata_fetched_at":"2026-11-15T16:50:24.452693+00:00","modules_missing":null,"modules_failed":null,"latest_release":"4.2.5"},"security_metrics":{"total_issues":10,"parameters_found":82,"unknown_parameters":1,"headers_accessed":3,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A03":1,"A04":1,"A07":3,"A08":1},"attack_surface_level":"large","attack_surface_score":84,"tainted_sinks":13,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":1,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":64.4,"rank":176815,"peer_count":496586,"better_than":64.4,"risk_distribution":{"low":99378,"high":177837,"medium":120462,"critical":38733,"minimal":60176}},"executive_summary":null,"vulnerabilities":[{"id":"96bb2fba-4b18-4c29-8344-3ba4d2f06a19","title":"WPFront User Role Editor < 3.2.1.11184  - Reflected Cross-Site Scripting","created_at":"2021-11-23T08:28:27.000Z","updated_at":"2022-09-26T10:03:53.000Z","published_date":"2021-11-23T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2021-24984"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"3.2.1.11184","introduced_in":null},{"id":"8bb970f1-e1de-4e67-94d9-2bd38c249dda","title":"WPFront User Role Editor < 4.1.0 - Limited Information Exposure","created_at":"2024-04-01T21:30:03.000Z","updated_at":"2024-04-01T21:30:03.000Z","published_date":"2024-04-01T00:00:00.000Z","vuln_type":"SENSITIVE DATA DISCLOSURE","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/078a0647-fc3a-436c-bf00-8776b16e66ff"],"cve":["2024-2931"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.1.0","introduced_in":null},{"id":"47de4425-69cb-4985-b746-dc34500f81ec","title":"WPFront User Role Editor < 4.2.2 - Cross-Site Request Forgery to Privilege Escalation via whitelist_options Function","created_at":"2025-04-07T20:32:51.000Z","updated_at":"2025-04-08T08:32:40.000Z","published_date":"2025-04-07T19:49:38.000Z","vuln_type":"CSRF","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/efc7ad9f-714e-474c-87e8-ecbbdfabd550"],"cve":["2025-3064"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.2.2","introduced_in":null},{"id":"700cd505-114a-46d8-87e0-238fcc3de027","title":"WPFront User Role Editor <= 4.2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting","created_at":"2025-09-29T21:41:22.000Z","updated_at":"2025-09-29T21:41:22.000Z","published_date":"2025-09-26T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/d1010f1d-47d2-4aa9-9b31-e5d63dafbc39"],"cve":["2025-60102"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":null,"introduced_in":null}],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":3,"description":"Functions related to a user's identity, authentication, or session management","recommendations":["Enforce strong passwords and rate-limit login attempts","Add MFA/2FA for privileged accounts","Use wp_verify_nonce() and capability checks together — neither alone is sufficient","Audit any authenticate / determine_current_user filter for bypass paths"],"findings_summary":["Parameter 'logout_url' - Authentication-related parameter — verify login flow hardening","Parameter 'login_page_url_selected_post_id' - Authentication-related parameter — verify login flow hardening","Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"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 'file_delete' sink x1 - 1 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer","Reachable 'option_update' sink x4 - 4 attacker-reachable 'option_update' 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":["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 x3 - 3 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: 25 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"file_delete","count":1,"risk":"1 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"option_update","count":4,"risk":"4 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["includes/class-entity.php:135"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":25,"risk":"25 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"parameter","name":"logout_url","locations":{"POST":[{"file":"/plugins/wpfront-user-role-editor/tags/4.2.6/includes/login-redirect/class-login-redirect.php","line":244,"offset":8536,"snippet":"$_POST['logout_url']"},{"file":"/plugins/wpfront-user-role-editor/tags/4.2.6/includes/login-redirect/class-login-redirect.php","line":245,"offset":8607,"snippet":"$_POST['logout_url']"},{"file":"/plugins/wpfront-user-role-editor/tags/4.2.6/includes/login-redirect/template-add-edit.php","line":255,"offset":10698,"snippet":"$_POST['logout_url']"},{"file":"/plugins/wpfront-user-role-editor/tags/4.2.6/includes/login-redirect/template-add-edit.php","line":255,"offset":10727,"snippet":"$_POST['logout_url']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"login_page_url_selected_post_id","locations":{"POST":[{"file":"/plugins/wpfront-user-role-editor/tags/4.2.6/includes/wp/class-login-page-url.php","line":221,"offset":8157,"snippet":"$_POST['login_page_url_selected_post_id']"},{"file":"/plugins/wpfront-user-role-editor/tags/4.2.6/includes/wp/class-login-page-url.php","line":222,"offset":8235,"snippet":"$_POST['login_page_url_selected_post_id']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":3,"risk":"3 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}]}}