{"summary":{"plugin_name":"motopress-appointment-lite","display_name":"MotoPress Appointment Booking","version":"2.4.9","risk_level":"high","risk_score":62.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":15,"filter_hooks":10,"rest_routes":7,"raw_input":5},"last_analyzed":"2026-11-23T14:31:50.658217","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":90,"num_ratings":21,"tested":"6.9.12","requires":"5.3","requires_php":"7.4","author":"jetmonsters","short_description":"MotoPress Appointment Booking makes it easy for time and service-based businesses to accept bookings and appointments online.","tags":["appointment","booking","calendar","reservation","schedule"],"added":"2022-01-26","last_updated":"2026-11-03 3:30pm GMT","metadata_fetched_at":"2026-11-22T11:16:00.239458+00:00","modules_missing":[],"modules_failed":[],"latest_release":"2.4.9"},"security_metrics":{"total_issues":72,"parameters_found":64,"unknown_parameters":2,"headers_accessed":2,"cookies_accessed":0,"wp_hooks":2,"rest_routes":14,"query_vars":4,"shortcode_atts":5,"rest_routes_with_access_patterns":6,"file_upload_parameters":0,"owasp_findings":{"A01":13,"A03":3,"A07":1},"attack_surface_level":"large","attack_surface_score":94,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":10},"comparison":{"percentile":10.7,"rank":447731,"peer_count":501497,"better_than":10.7,"risk_distribution":{"low":101676,"high":178141,"medium":121491,"critical":38878,"minimal":61311}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"critical","findings_count":13,"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 '/bookings' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/bookings/draft' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/calendar/time' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/coupons' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/customers/create' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers"]},{"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: SQL injection found in fields with param #1","phpcs_security: SQL injection found in orderBy with param #1","Pattern 'sqli_interpolated' x1 - Interpolated variable in SQL query string (1 occurrence(s))"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":1,"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_login_failed' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/bookings","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/bookings/draft","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/calendar/time","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/coupons","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/customers/create","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/payments/settings","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/payments/prepare","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/schedules","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/services","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/services/available","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/settings","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":2,"severity":"high","examples":["includes/handlers/AjaxHandler.php:42","includes/libraries/async/BackgroundProcess.php:118"],"risk":"Nopriv AJAX handler without nonce verification (2 occurrence(s))"},{"type":"pattern_match","pattern":"rest_no_permission","count":7,"severity":"high","examples":["includes/rest/controllers/SettingsRestController.php:25","includes/rest/controllers/SchedulesRestController.php:29","includes/rest/controllers/BookingsRestController.php:31"],"risk":"REST endpoint with no permission check (7 occurrence(s))"}],"A03":[{"type":"phpcs_security","message":"SQL injection found in fields with param #1","file":"/plugins/motopress-appointment-lite/tags/2.4.9/includes/admin-pages/custom/SettingsPage.php","line":169},{"type":"phpcs_security","message":"SQL injection found in orderBy with param #1","file":"/plugins/motopress-appointment-lite/tags/2.4.9/includes/list-tables/CustomersListTable.php","line":44},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["includes/post-types/logs/CustomCommentsFix.php:56"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A07":[{"type":"auth_hook","name":"wp_login_failed","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}