{"summary":{"plugin_name":"eupago-gateway-for-woocommerce","display_name":"Eupago Gateway For Woocommerce","version":"4.7.5","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":10,"owasp":5,"attack_surface":10,"superglobal_density":5,"raw_input":5},"last_analyzed":"2026-11-23T14:25:37.704457","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":66,"num_ratings":4,"tested":"7.1.5","requires":"6.0","requires_php":"7.4","author":"Eupago","short_description":"Plugin para recebimento de pagamentos via Multibanco, PayShop, MB WAY, Cartão de Crédito, Paysafecard, Bizum e EuroPix. O plugin permite ainda fazer r …","tags":["atm","gateway","multibanco","payment","woocommerce"],"added":"2021-12-30","last_updated":"2026-11-03 2:26pm GMT","metadata_fetched_at":"2026-11-22T05:11:20.502064+00:00","modules_missing":[],"modules_failed":[],"latest_release":"4.7.5"},"security_metrics":{"total_issues":37,"parameters_found":44,"unknown_parameters":0,"headers_accessed":6,"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,"A02":1,"A03":1},"attack_surface_level":"medium","attack_surface_score":46,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":65.5,"rank":167113,"peer_count":483842,"better_than":65.5,"risk_distribution":{"high":176788,"critical":38229,"medium":118033,"low":93668,"minimal":57124}},"executive_summary":null,"vulnerabilities":[{"id":"e719ed3d-5eb7-4f81-bd19-f35a16e7b9fe","title":"Eupago Gateway For Woocommerce < 3.1.10 - CSRF","created_at":"2023-10-16T10:31:39.000Z","updated_at":"2023-10-16T10:31:43.000Z","published_date":"2023-10-16T00:00:00.000Z","vuln_type":"CSRF","references":{"cve":["2023-45638"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.1.10","introduced_in":null},{"id":"553d3039-0134-4339-8f46-d84a1cc23b04","title":"Eupago Gateway For Woocommerce <= 4.7.2 - Missing Authorization","created_at":"2025-12-12T21:34:17.000Z","updated_at":"2026-07-15T19:02:06.000Z","published_date":"2025-12-08T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://vdp.patchstack.com/database/Wordpress/Plugin/eupago-gateway-for-woocommerce/vulnerability/wordpress-eupago-gateway-for-woocommerce-plugin-4-6-3-broken-access-control-vulnerability"],"cve":["2025-62870"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.7.2","introduced_in":null},{"id":"b4ce2a06-b435-4b77-851f-4406f2a91ca6","title":"Eupago Gateway For Woocommerce < 4.7.2 - Unauthenticated Arbitrary Refund Initiation","created_at":"2026-05-07T14:00:01.000Z","updated_at":"2026-10-29T23:30:31.000Z","published_date":"2026-05-07T00:00:00.000Z","vuln_type":"ACCESS CONTROLS","references":{"cve":["2026-7862"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"4.7.2","introduced_in":null},{"id":"065557b8-a29f-4c59-9289-2343d90447b1","title":"Eupago Gateway For Woocommerce 4.5.0 - 4.7.5 - Unauthenticated Payment Confirmation Bypass","created_at":"2026-10-24T10:11:34.000Z","updated_at":"2026-10-24T10:11:34.000Z","published_date":"2026-10-31T10:11:34.000Z","vuln_type":"AUTHBYPASS","references":{"cve":["2026-91075"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":null,"introduced_in":"4.5.0"}],"recommendations":[{"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":["Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))"]},{"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":["phpcs_security: Easy XSS detected because of direct user input with $_GET on echo"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":1,"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 'client_secret' - Sensitive data exposure"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["includes/hooks/hooks-refund.php:8"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A02":[{"type":"parameter","name":"client_secret","locations":{"POST":[{"file":"/plugins/eupago-gateway-for-woocommerce/tags/4.7.5/eupago-gateway-for-woocommerce.php","line":971,"offset":46753,"snippet":"$_POST['client_secret']"},{"file":"/plugins/eupago-gateway-for-woocommerce/tags/4.7.5/eupago-gateway-for-woocommerce.php","line":1058,"offset":50701,"snippet":"$_POST['client_secret']"},{"file":"/plugins/eupago-gateway-for-woocommerce/tags/4.7.5/includes/views/eupago-admin-page.php","line":63,"offset":2073,"snippet":"$_POST['client_secret']"},{"file":"/plugins/eupago-gateway-for-woocommerce/tags/4.7.5/includes/views/eupago-admin-page.php","line":64,"offset":2147,"snippet":"$_POST['client_secret']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/eupago-gateway-for-woocommerce/tags/4.7.5/includes/hooks/hooks-refund.php","line":197}]}}