{"summary":{"plugin_name":"new-user-approve","display_name":"New User Approve","version":"3.3","risk_level":"high","risk_score":60.0,"risk_factors":{"static_analysis":5,"owasp":10,"attack_surface":10,"unauth_ratio":5,"filter_hooks":15,"rest_routes":10,"raw_input":5},"last_analyzed":"2026-11-23T13:20:57.841101","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":86,"num_ratings":131,"tested":"7.1.2","requires":"4.0","requires_php":"False","author":"Saad Iqbal","short_description":"WordPress user approval plugin to moderate registrations. Approve or deny real users and prevent fake signups to control who registers on site.","tags":["registration","user approval","user management","User Registration","users"],"added":"2008-10-30","last_updated":"2026-09-30 9:58am GMT","metadata_fetched_at":"2026-10-04T19:59:32.751235+00:00","modules_missing":null,"modules_failed":null,"latest_release":"3.3"},"security_metrics":{"total_issues":22,"parameters_found":40,"unknown_parameters":2,"headers_accessed":14,"cookies_accessed":1,"wp_hooks":2,"rest_routes":50,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":26,"file_upload_parameters":0,"owasp_findings":{"A01":16,"A03":11,"A04":1,"A05":2,"A07":5},"attack_surface_level":"large","attack_surface_score":142,"tainted_sinks":25,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":2,"dangerous_patterns":9},"comparison":{"percentile":16.5,"rank":400284,"peer_count":479339,"better_than":16.5,"risk_distribution":{"medium":117087,"high":176493,"low":91495,"minimal":56087,"critical":38177}},"executive_summary":null,"vulnerabilities":[{"id":"6dae6dca-7474-4008-9fe5-4c62b9f12d0a","title":"Unauthorised AJAX Calls via Freemius","created_at":"2022-02-28T14:22:15.000Z","updated_at":"2024-10-28T10:02:20.000Z","published_date":"2022-02-28T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"2.1","introduced_in":null},{"id":"e1693318-900c-47f1-bb77-008b0d33327f","title":"New User Approve < 2.4 - Arbitrary Settings Update & Invitation Code Creation via CSRF","created_at":"2022-06-01T07:19:10.000Z","updated_at":"2023-02-28T07:01:57.000Z","published_date":"2022-06-01T00:00:00.000Z","vuln_type":"CSRF","references":{"cve":["2022-1625"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"2.4","introduced_in":null},{"id":"17f99601-f5c9-4300-9b4a-6d75fa7ab94a","title":"New User Approve < 2.4.1 - Reflected Cross-Site Scripting","created_at":"2022-06-13T09:03:36.000Z","updated_at":"2022-06-13T09:03:37.000Z","published_date":"2022-05-30T00:00:00.000Z","vuln_type":"XSS","references":{},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"2.4.1","introduced_in":null},{"id":"7fd1ad0e-9db9-47b7-9966-d3f5a8771571","title":"Freemius SDK < 2.5.10 - Reflected Cross-Site Scripting","created_at":"2023-07-25T15:58:06.000Z","updated_at":"2024-10-28T10:02:07.000Z","published_date":"2023-07-18T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2023-33999"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.5.1","introduced_in":null},{"id":"4e4329f1-df55-4713-a120-1298003ddbc9","title":"New User Approve < 2.5.2 - Cross-Site Request Forgery via admin_notices","created_at":"2024-01-05T10:39:22.000Z","updated_at":"2024-01-22T20:30:11.000Z","published_date":"2023-12-26T00:00:00.000Z","vuln_type":"CSRF","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/3abde27c-8234-4146-9e55-ea20b275ca48"],"cve":["2023-50902"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.5.2","introduced_in":null},{"id":"997c78ea-0e9b-45e4-9b3a-166a424b4a7d","title":"New User Approve < 2.6.4 - Missing Authorization","created_at":"2024-12-19T09:30:59.000Z","updated_at":"2024-12-19T09:30:59.000Z","published_date":"2024-12-11T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/6c00e07a-7a0b-4cfa-8f6b-b03e3b485f07"],"cve":["2024-54323"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.6.4","introduced_in":null},{"id":"2c5b3e7c-ae82-4f98-a071-ad2f4530bd20","title":"New User Approve < 3.1.0 - Unauthenticated Sensitive Information Disclosure via Type Juggling","created_at":"2025-11-18T15:31:29.000Z","updated_at":"2025-11-19T15:31:16.000Z","published_date":"2025-11-18T15:26:02.000Z","vuln_type":"SENSITIVE DATA DISCLOSURE","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/3f1cf77a-64b4-405b-adcb-ef16d9e82ab2"],"cve":["2025-12770"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.1.0","introduced_in":null},{"id":"26d7137e-630f-491d-9cc7-6e58d1cbaf9c","title":"New User Approve < 3.2.4 - Cross-Site Request Forgery","created_at":"2025-12-10T16:30:57.000Z","updated_at":"2026-02-26T16:31:15.000Z","published_date":"2025-11-08T00:00:00.000Z","vuln_type":"CSRF","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/1fe73b99-f113-4514-ae13-e22f897608b2"],"cve":["2025-63030"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.2.4","introduced_in":null},{"id":"d0622077-1b37-4462-9679-1e1f0a6406ad","title":"New User Approve < 3.2.3 - Missing Authorization to Unauthenticated Arbitrary User Approval, Denial, and Information Disclosure","created_at":"2026-01-27T18:38:57.000Z","updated_at":"2026-01-28T07:38:42.000Z","published_date":"2026-01-27T17:49:02.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/f86a69ab-2fc5-4c84-872b-929dbec429cd"],"cve":["2026-0832"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.2.3","introduced_in":null},{"id":"1d8100d4-c46f-43a5-b228-875c59531277","title":"New User Approve < 3.2.1 - Missing Authorization","created_at":"2026-02-17T15:34:26.000Z","updated_at":"2026-02-17T15:34:26.000Z","published_date":"2026-02-11T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/5fcf9a7f-e48c-40a7-9af8-6a2e631ef6e3"],"cve":["2025-69063"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.2.1","introduced_in":null},{"id":"e3fc7148-9263-4ce6-a3e1-25018301d835","title":"New User Approve < 3.2.4 - Missing Authorization","created_at":"2026-03-27T19:33:05.000Z","updated_at":"2026-03-27T19:33:05.000Z","published_date":"2026-03-20T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/4bb10817-50e6-493a-82e9-92b122ddce06"],"cve":["2026-25390"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.2.4","introduced_in":null},{"id":"7bd7f627-ee3a-4ba2-8cef-b740c1f34d90","title":"New User Approve < 3.2.9 - Missing Authorization","created_at":"2026-08-24T16:45:49.000Z","updated_at":"2026-08-24T16:45:49.000Z","published_date":"2026-08-20T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/af40f0e4-96cf-4eac-842b-6df6279cab44"],"cve":["2026-28163"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.2.9","introduced_in":null},{"id":"dc48141c-c7d3-485e-9470-88f5e24a701f","title":"New User Approve 3.1.0 - 3.2.9 - Unauthenticated PII Disclosure via Zapier API Key Bypass","created_at":"2026-09-28T14:01:35.000Z","updated_at":"2026-09-28T14:01:35.000Z","published_date":"2026-09-28T00:00:00.000Z","vuln_type":"SENSITIVE DATA DISCLOSURE","references":{"cve":["2026-83560"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"3.2.10","introduced_in":"3.1.0"}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"critical","findings_count":16,"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 '/v1/connect-app' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/v1/disconnect-app' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/v1/check-license' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/v1/get-dashboard-data' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/v1/get-all-requests' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers"]},{"category":"A03","name":"Injection","severity":"critical","findings_count":11,"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 'pw-status-query-submit-bottom' - Parameter name suggests injection sink — verify sanitization","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"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":5,"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":["Auth hook 'wp_authenticate_user' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'user_register' - Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'lostpassword_post' - Hooks the 'lostpassword' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication","Reachable 'auth_bypass' sink x2 - 2 attacker-reachable 'auth_bypass' 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: 5 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]},{"category":"A05","name":"Security Misconfiguration","severity":"low","findings_count":2,"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 freemius/config.php:324 - error_reporting( E_ALL );","Misconfiguration in freemius/includes/class-freemius.php:4289 - phpinfo();"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/v1/connect-app","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/disconnect-app","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/check-license","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/get-dashboard-data","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/get-all-requests","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/get-user-details","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/user-approve","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/user-deny","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/auth","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/user-approved","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/user-denied","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/user-invcode","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/user-pending","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/user-whitelisted","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/user-approved-via-role","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":8,"severity":"high","examples":["includes/end-points/mobile-api.php:21","includes/end-points/mobile-api.php:27","includes/end-points/mobile-api.php:33"],"risk":"REST endpoint with no permission check (8 occurrence(s))"}],"A03":[{"type":"parameter","name":"pw-status-query-submit-bottom","locations":{"GET":[{"file":"/plugins/new-user-approve/tags/3.3/includes/class-pw-new-user-approve-user-list.php","line":377,"offset":9363,"snippet":"$_REQUEST['pw-status-query-submit-bottom']"},{"file":"/plugins/new-user-approve/tags/3.3/includes/class-pw-new-user-approve-user-list.php","line":378,"offset":9489,"snippet":"$_REQUEST['pw-status-query-submit-bottom']"}],"POST":[{"file":"/plugins/new-user-approve/tags/3.3/includes/class-pw-new-user-approve-user-list.php","line":377,"offset":9363,"snippet":"$_REQUEST['pw-status-query-submit-bottom']"},{"file":"/plugins/new-user-approve/tags/3.3/includes/class-pw-new-user-approve-user-list.php","line":378,"offset":9489,"snippet":"$_REQUEST['pw-status-query-submit-bottom']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/new-user-approve/tags/3.3/includes/class-nua-invitation-code.php","line":354},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/new-user-approve/tags/3.3/includes/class-nua-invitation-code.php","line":354},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/new-user-approve/tags/3.3/includes/class-nua-jetformbuilder.php","line":71},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/new-user-approve/tags/3.3/includes/class-nua-jetformbuilder.php","line":71},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/new-user-approve/tags/3.3/includes/class-nua-jetformbuilder.php","line":71},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/new-user-approve/tags/3.3/includes/class-nua-jetformbuilder.php","line":71},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/new-user-approve/tags/3.3/includes/memberpress.php","line":43},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/new-user-approve/tags/3.3/includes/memberpress.php","line":43},{"type":"reachability_sink","sink":"file_include","count":23,"risk":"23 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["freemius/includes/class-fs-logger.php:331"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":5,"risk":"5 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A05":[{"type":"misconfiguration","file":"freemius/config.php","line":"324","match":"error_reporting( E_ALL );","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"freemius/includes/class-freemius.php","line":"4289","match":"phpinfo();","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"}],"A07":[{"type":"auth_hook","name":"wp_authenticate_user","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"lostpassword_post","risk":"Hooks the 'lostpassword' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"reachability_sink","sink":"auth_bypass","count":2,"risk":"2 attacker-reachable 'auth_bypass' sink(s) found by the reachability analyzer"}]}}