{"summary":{"plugin_name":"peters-login-redirect","display_name":"LoginWP (Formerly Peter’s Login Redirect)","version":"3.0.9.1","risk_level":"low","risk_score":25.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":5},"last_analyzed":"2026-11-23T13:58:07.363334","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":80000,"rating":96,"num_ratings":504,"tested":"7.0.9","requires":"5.6","requires_php":"7.4","author":"Marketing Fire","short_description":"Redirect users to different locations after they log in, log out and register based on different conditions.","tags":["after registration redirect","login redirect","logout redirect"],"added":"2008-09-10","last_updated":"2026-11-17 9:19am GMT","metadata_fetched_at":"2026-11-22T20:24:16.826905+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.0.9.1"},"security_metrics":{"total_issues":6,"parameters_found":33,"unknown_parameters":1,"headers_accessed":4,"cookies_accessed":0,"wp_hooks":2,"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,"A07":13},"attack_surface_level":"medium","attack_surface_score":35,"tainted_sinks":9,"tainted_sql":6,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":71.2,"rank":144248,"peer_count":501562,"better_than":71.2,"risk_distribution":{"low":101712,"high":178141,"medium":121489,"critical":38894,"minimal":61326}},"executive_summary":null,"vulnerabilities":[{"id":"eddbebc8-3546-4e16-a36c-64a1bd27ff70","title":"Peter's Login Redirect <= 2.9.0 - Cross-Site Scripting (XSS) & CSRF","created_at":"2016-08-16T08:44:59.000Z","updated_at":"2020-09-22T07:16:57.000Z","published_date":"2016-08-15T00:00:00.000Z","description":null,"poc":null,"vuln_type":"MULTI","references":{"url":["https://seclists.org/fulldisclosure/2016/Aug/69","https://sumofpwn.nl/advisory/2016/cross_site_scripting_cross_site_request_forgery_in_peter_s_login_redirect_wordpress_plugin.html"],"cve":["2016-10925"]},"cvss":null,"fixed_in":"2.9.1","introduced_in":null},{"id":"f7e4c71c-16b1-45cc-ba5b-5960f9d6ec94","title":"Peters Login Redirect <= 2.9.1 - Multiple CSRF","created_at":"2019-07-23T08:54:47.000Z","updated_at":"2020-09-22T07:29:41.000Z","published_date":"2019-02-23T00:00:00.000Z","description":null,"poc":null,"vuln_type":"CSRF","references":{"url":["https://plugins.trac.wordpress.org/changeset/2037934"],"cve":["2019-15115"]},"cvss":null,"fixed_in":"2.9.2","introduced_in":null},{"id":"1a46cfec-24ad-4619-8579-f09bbd8ee748","title":"LoginWP < 3.0.0.5 - Reflected Cross-Site Scripting","created_at":"2021-11-08T07:42:09.000Z","updated_at":"2022-09-26T10:03:53.000Z","published_date":"2021-11-08T00:00:00.000Z","description":null,"poc":null,"vuln_type":"XSS","references":{"cve":["2021-24939"]},"cvss":null,"fixed_in":"3.0.0.5","introduced_in":null}],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"critical","findings_count":13,"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 'loginwp_admin_action' - Authentication-related parameter — verify login flow hardening","Parameter 'loginwp_free_license_activator' - Authentication-related parameter — verify login flow hardening","Parameter 'loginwp_free_license_field' - Authentication-related parameter — verify login flow hardening","Parameter 'loginwp_free_license_subscribe' - Authentication-related parameter — verify login flow hardening","Parameter 'loginwp_free_dismiss' - Authentication-related parameter — verify login flow hardening"]},{"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":["phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","Reachable 'sql' sink x6 - 6 attacker-reachable 'sql' sink(s) found by the reachability analyzer","Reachable 'file_include' sink x2 - 2 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 'option_update' sink x1 - 1 attacker-reachable 'option_update' 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: 8 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"option_update","count":1,"risk":"1 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/views/include.view.php","line":61},{"type":"reachability_sink","sink":"sql","count":6,"risk":"6 attacker-reachable 'sql' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_include","count":2,"risk":"2 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":8,"risk":"8 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"parameter","name":"loginwp_admin_action","locations":{"GET":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/Admin.php","line":70,"offset":2135,"snippet":"$_GET['loginwp_admin_action']"},{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/Admin.php","line":72,"offset":2186,"snippet":"$_GET['loginwp_admin_action']"},{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/Admin.php","line":76,"offset":2373,"snippet":"$_GET['loginwp_admin_action']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"loginwp_free_license_activator","locations":{"POST":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/Admin.php","line":288,"offset":13103,"snippet":"$_POST['loginwp_free_license_activator']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"loginwp_free_license_field","locations":{"POST":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/Admin.php","line":289,"offset":13219,"snippet":"$_POST['loginwp_free_license_field']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"loginwp_free_license_subscribe","locations":{"POST":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/Admin.php","line":306,"offset":13842,"snippet":"$_POST['loginwp_free_license_subscribe']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"loginwp_free_dismiss","locations":{"POST":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/Admin.php","line":382,"offset":17115,"snippet":"$_POST['loginwp_free_dismiss']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"loginwp_free_license_dismiss_field","locations":{"POST":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/Admin.php","line":383,"offset":17221,"snippet":"$_POST['loginwp_free_license_dismiss_field']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"loginwp_save_rule","locations":{"POST":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/RedirectionsPage.php","line":281,"offset":9134,"snippet":"$_POST['loginwp_save_rule']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"rul_login_url","locations":{"POST":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/RedirectionsPage.php","line":297,"offset":9710,"snippet":"$_POST['rul_login_url']"},{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/RedirectionsPage.php","line":334,"offset":11029,"snippet":"$_POST['rul_login_url']"},{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/RedirectionsPage.php","line":359,"offset":11765,"snippet":"$_POST['rul_login_url']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"rul_logout_url","locations":{"POST":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/RedirectionsPage.php","line":297,"offset":9744,"snippet":"$_POST['rul_logout_url']"},{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/RedirectionsPage.php","line":335,"offset":11115,"snippet":"$_POST['rul_logout_url']"},{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/RedirectionsPage.php","line":360,"offset":11851,"snippet":"$_POST['rul_logout_url']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"rul_all_logout","locations":{"POST":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Admin/RedirectionsPage.php","line":398,"offset":13195,"snippet":"$_POST['rul_all_logout']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"loginwp_link_redirect","locations":{"GET":[{"file":"/plugins/peters-login-redirect/tags/3.0.9.1/src/core/src/Redirections/Redirections.php","line":45,"offset":1418,"snippet":"$_GET['loginwp_link_redirect']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"init","risk":"Hooks the 'login_redirect' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_login_failed","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}