{"summary":{"plugin_name":"mainwp","display_name":"MainWP Dashboard: Self-hosted WordPress Management for Agencies","version":"6.5","risk_level":"critical","risk_score":70.0,"risk_factors":{"static_analysis":5,"owasp":20,"attack_surface":15,"unauth_ratio":5,"superglobal_density":5,"filter_hooks":15,"raw_input":5},"last_analyzed":"2026-11-29T04:09:45.277879","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":98,"num_ratings":2354,"tested":"7.1.5","requires":"6.2","requires_php":"8.3","author":"mainwp","short_description":"Run updates, backups, security and reporting across all client sites from your own server. Keep data private and prove your value with branded reports …","tags":["backups","manage multiple wordpress sites","security","update","wordpress maintenance"],"added":"2014-02-26","last_updated":"2026-11-17 4:30pm GMT","metadata_fetched_at":"2026-11-22T19:19:09.854899+00:00","modules_missing":[],"modules_failed":[],"latest_release":"6.5.1"},"security_metrics":{"total_issues":402,"parameters_found":661,"unknown_parameters":2,"headers_accessed":22,"cookies_accessed":0,"wp_hooks":2,"rest_routes":148,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":16,"file_upload_parameters":7,"owasp_findings":{"A01":4,"A02":17,"A03":60,"A04":1,"A07":4,"A08":1},"attack_surface_level":"large","attack_surface_score":994,"tainted_sinks":110,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":3},"comparison":{"percentile":7.7,"rank":462477,"peer_count":501327,"better_than":7.7,"risk_distribution":{"low":101583,"high":178128,"medium":121490,"critical":38851,"minimal":61275}},"executive_summary":null,"vulnerabilities":[{"id":"1da32fc3-b911-4a4f-aabf-517ae621e2c3","title":"MainWP <= 2.0.22 - Unspecified ","created_at":"2015-08-08T15:57:00.000Z","updated_at":"2019-10-22T16:12:41.000Z","published_date":"2015-08-08T00:00:00.000Z","vuln_type":"UNKNOWN","references":{"url":["https://plugins.trac.wordpress.org/changeset/1214999/mainwp"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.0.23","introduced_in":null},{"id":"e9bce607-21bb-4ebd-af90-dcacb73f77c9","title":"MainWP <= 3.1.2 - Unauthenticated Stored Cross-Site Scripting (XSS)","created_at":"2016-05-03T12:07:36.000Z","updated_at":"2019-11-01T06:00:10.000Z","published_date":"2016-04-29T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://klikki.fi/adv/mainwp.html"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.1.3","introduced_in":null},{"id":"df12bf58-54bd-409a-9fc6-929c327a7a2a","title":"MainWP Dashboard < 4.5.1.3 - Authenticated(Administrator+) CSS Injection","created_at":"2023-11-23T14:05:21.000Z","updated_at":"2023-11-24T20:48:50.000Z","published_date":"2023-10-20T00:00:00.000Z","vuln_type":"INJECTION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/73980a90-bb17-46e4-a0ea-691f80500fe3"],"cve":["2023-6164"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.5.1.3","introduced_in":null},{"id":"45e06fc0-499a-4f5d-b995-62bbf8ab4e45","title":"MainWP < 4.4.3.4 - Authenticated (Administrator+) SQL Injection","created_at":"2023-11-23T14:05:31.000Z","updated_at":"2024-01-22T20:30:22.000Z","published_date":"2023-11-09T00:00:00.000Z","vuln_type":"SQLI","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/791a7063-fb1e-4147-b253-8baf889307c6"],"cve":["2023-38519"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.4.3.4","introduced_in":null},{"id":"7d50395a-a2ce-4664-82e4-8d2c01251fb3","title":"MainWP Dashboard < 5.0 - Cross-Site Request Forgery via posting_bulk","created_at":"2024-02-27T22:30:08.000Z","updated_at":"2024-02-27T22:30:08.000Z","published_date":"2024-02-27T00:00:00.000Z","vuln_type":"CSRF","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/2c2d9569-a551-46f5-8581-464b9f35b71c"],"cve":["2024-1642"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"5.0","introduced_in":null},{"id":"4f72c0c5-3195-4a9c-a164-6176d4d09045","title":"MainWP Dashboard: Self-hosted WordPress Management for Agencies < 6.1.2 - Missing Authorization","created_at":"2026-07-07T20:39:54.000Z","updated_at":"2026-07-07T20:39:54.000Z","published_date":"2026-06-29T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/98e82ea8-3d92-4ce3-a280-2def3ab5430f"],"cve":["2026-57327"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"6.1.2","introduced_in":null}],"recommendations":[{"category":"A03","name":"Injection","severity":"critical","findings_count":60,"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","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo"]},{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":4,"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 'None' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route 'None' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Reachable 'option_update' sink x8 - 8 attacker-reachable 'option_update' sink(s) found by the reachability analyzer","Pattern 'rest_no_permission' x2 - REST endpoint with no permission check (2 occurrence(s))"]},{"category":"A02","name":"Cryptographic Failures","severity":"high","findings_count":17,"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 'mainwp_options_backupEncryptionPassphrase' - Sensitive data exposure","Parameter 'mainwp_options_backupEncryptionCurrentPassphrase' - Sensitive data exposure","Parameter 'mainwp_options_backupEncryptionAccountPassword' - Sensitive data exposure","Parameter 'mainwp_options_enableBackupEncryption' - Sensitive data exposure","Parameter 'backup_encryption_forced_off' - Sensitive data exposure"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":4,"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 'saveLogin' - Authentication-related parameter — verify login flow hardening","Parameter 'user_login' - Authentication-related parameter — verify login flow hardening","Auth hook 'determine_current_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"]},{"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 x2 - 2 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: 65 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":null,"risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":null,"risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"reachability_sink","sink":"option_update","count":8,"risk":"8 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"rest_no_permission","count":2,"severity":"high","examples":["class/class-mainwp-rest-api.php:431","modules/cost-tracker/classes/class-cost-tracker-rest-api.php:110"],"risk":"REST endpoint with no permission check (2 occurrence(s))"}],"A02":[{"type":"parameter","name":"mainwp_options_backupEncryptionPassphrase","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":684,"offset":31914,"snippet":"$_POST['mainwp_options_backupEncryptionPassphrase']"},{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":684,"offset":31991,"snippet":"$_POST['mainwp_options_backupEncryptionPassphrase']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mainwp_options_backupEncryptionCurrentPassphrase","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":685,"offset":32233,"snippet":"$_POST['mainwp_options_backupEncryptionCurrentPassphrase']"},{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":685,"offset":32317,"snippet":"$_POST['mainwp_options_backupEncryptionCurrentPassphrase']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mainwp_options_backupEncryptionAccountPassword","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":689,"offset":32755,"snippet":"$_POST['mainwp_options_backupEncryptionAccountPassword']"},{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":689,"offset":32837,"snippet":"$_POST['mainwp_options_backupEncryptionAccountPassword']"},{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":694,"offset":33443,"snippet":"$_POST['mainwp_options_backupEncryptionAccountPassword']"},{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":695,"offset":33578,"snippet":"$_POST['mainwp_options_backupEncryptionAccountPassword']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mainwp_options_enableBackupEncryption","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":717,"offset":35263,"snippet":"$_POST['mainwp_options_enableBackupEncryption']"},{"file":"/plugins/mainwp/tags/6.5/class/backup/class-mainwp-backup-settings.php","line":717,"offset":35325,"snippet":"$_POST['mainwp_options_enableBackupEncryption']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"backup_encryption_forced_off","locations":{"GET":[{"file":"/plugins/mainwp/tags/6.5/class/class-mainwp-system-handler.php","line":711,"offset":33330,"snippet":"$_GET['backup_encryption_forced_off']"},{"file":"/plugins/mainwp/tags/6.5/pages/backup/page-mainwp-backup-settings-view.php","line":63,"offset":2353,"snippet":"$_GET['backup_encryption_forced_off']"},{"file":"/plugins/mainwp/tags/6.5/pages/backup/page-mainwp-backup-settings-view.php","line":63,"offset":2437,"snippet":"$_GET['backup_encryption_forced_off']"},{"file":"/plugins/mainwp/tags/6.5/pages/backup/page-mainwp-backup-settings-view.php","line":328,"offset":22434,"snippet":"$_GET['backup_encryption_forced_off']"},{"file":"/plugins/mainwp/tags/6.5/pages/backup/page-mainwp-backup-settings-view.php","line":328,"offset":22518,"snippet":"$_GET['backup_encryption_forced_off']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"consumer_secret","locations":{"GET":[{"file":"/plugins/mainwp/tags/6.5/includes/rest-api/class-mainwp-rest-authentication.php","line":496,"offset":17636,"snippet":"$_GET['consumer_secret']"},{"file":"/plugins/mainwp/tags/6.5/includes/rest-api/class-mainwp-rest-authentication.php","line":498,"offset":17805,"snippet":"$_GET['consumer_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mainwp_cpanel_account_password","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/modules/api-backups/classes/class-api-backups-settings.php","line":297,"offset":16411,"snippet":"$_POST['mainwp_cpanel_account_password']"},{"file":"/plugins/mainwp/tags/6.5/modules/api-backups/classes/class-api-backups-settings.php","line":297,"offset":16468,"snippet":"$_POST['mainwp_cpanel_account_password']"},{"file":"/plugins/mainwp/tags/6.5/modules/api-backups/classes/class-api-backups-settings.php","line":1086,"offset":83139,"snippet":"$_POST['mainwp_cpanel_account_password']"},{"file":"/plugins/mainwp/tags/6.5/modules/api-backups/classes/class-api-backups-settings.php","line":1086,"offset":83196,"snippet":"$_POST['mainwp_cpanel_account_password']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"bulk_updateadminpassword","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-bulk-update-admin-passwords.php","line":85,"offset":2664,"snippet":"$_POST['bulk_updateadminpassword']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"password","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-bulk-update-admin-passwords.php","line":102,"offset":4265,"snippet":"$_POST['password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-bulk-update-admin-passwords.php","line":102,"offset":4302,"snippet":"$_POST['password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-bulk-update-admin-passwords.php","line":102,"offset":4351,"snippet":"$_POST['password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-bulk-update-admin-passwords.php","line":109,"offset":4722,"snippet":"$_POST['password']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"bulk_update_password_policy","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":227,"offset":7447,"snippet":"$_POST['bulk_update_password_policy']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mainwp_password_policy_window","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":235,"offset":7842,"snippet":"$_POST['mainwp_password_policy_window']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":238,"offset":8070,"snippet":"$_POST['mainwp_password_policy_window']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":248,"offset":8599,"snippet":"$_POST['mainwp_password_policy_window']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mainwp_password_policy_due_soon_message","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":249,"offset":8687,"snippet":"$_POST['mainwp_password_policy_due_soon_message']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":249,"offset":8778,"snippet":"$_POST['mainwp_password_policy_due_soon_message']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mainwp_password_policy_overdue_message","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":250,"offset":8881,"snippet":"$_POST['mainwp_password_policy_overdue_message']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":250,"offset":8971,"snippet":"$_POST['mainwp_password_policy_overdue_message']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mainwp_password_policy_show_notices_to","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":251,"offset":9073,"snippet":"$_POST['mainwp_password_policy_show_notices_to']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-password-policy-settings.php","line":251,"offset":9159,"snippet":"$_POST['mainwp_password_policy_show_notices_to']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mainwp_consumer_secret","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-rest-api-page.php","line":369,"offset":14713,"snippet":"$_POST['mainwp_consumer_secret']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-rest-api-page.php","line":369,"offset":14783,"snippet":"$_POST['mainwp_consumer_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"update_password","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1468,"offset":69167,"snippet":"$_POST['update_password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1468,"offset":69223,"snippet":"$_POST['update_password']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"send_password","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1689,"offset":81142,"snippet":"$_POST['send_password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2045,"offset":100076,"snippet":"$_POST['send_password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2045,"offset":100112,"snippet":"$_POST['send_password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2421,"offset":120735,"snippet":"$_POST['send_password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2421,"offset":120771,"snippet":"$_POST['send_password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2481,"offset":123198,"snippet":"$_POST['send_password']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2481,"offset":123234,"snippet":"$_POST['send_password']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-install-bulk.php","line":189},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-install-bulk.php","line":189},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-plugins.php","line":1993},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-plugins.php","line":1993},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-post.php","line":748},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-post.php","line":748},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-post.php","line":750},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-post.php","line":750},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":566},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":566},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":575},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":575},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":591},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":591},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":608},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":608},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":628},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":628},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":635},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":635},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":643},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":643},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":651},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":651},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":651},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":659},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":659},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":666},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":666},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":673},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":673},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":782},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":782},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":792},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":792},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":800},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":800},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":807},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":807},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":816},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":816},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":825},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-server-information-handler.php","line":825},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-themes.php","line":1829},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-themes.php","line":1829},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1639},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1639},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1647},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1647},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1655},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1655},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1663},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1663},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1671},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1671},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1689},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1718},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1718},{"type":"reachability_sink","sink":"file_include","count":98,"risk":"98 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["modules/logs/classes/class-log-db.php:288"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":65,"risk":"65 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"parameter","name":"saveLogin","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/class/class-mainwp-post-extension-handler.php","line":375,"offset":17833,"snippet":"$_POST['saveLogin']"},{"file":"/plugins/mainwp/tags/6.5/class/class-mainwp-post-extension-handler.php","line":375,"offset":17872,"snippet":"$_POST['saveLogin']"},{"file":"/plugins/mainwp/tags/6.5/class/class-mainwp-post-extension-handler.php","line":411,"offset":19218,"snippet":"$_POST['saveLogin']"},{"file":"/plugins/mainwp/tags/6.5/class/class-mainwp-post-extension-handler.php","line":411,"offset":19257,"snippet":"$_POST['saveLogin']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"user_login","locations":{"POST":[{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1639,"offset":76998,"snippet":"$_POST['user_login']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1639,"offset":77068,"snippet":"$_POST['user_login']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1956,"offset":95247,"snippet":"$_POST['user_login']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1956,"offset":95280,"snippet":"$_POST['user_login']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1983,"offset":96561,"snippet":"$_POST['user_login']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":1983,"offset":96619,"snippet":"$_POST['user_login']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2336,"offset":115555,"snippet":"$_POST['user_login']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2336,"offset":115613,"snippet":"$_POST['user_login']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2476,"offset":122599,"snippet":"$_POST['user_login']"},{"file":"/plugins/mainwp/tags/6.5/pages/page-mainwp-user.php","line":2476,"offset":122657,"snippet":"$_POST['user_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"determine_current_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"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":2,"risk":"2 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}]}}