{"summary":{"plugin_name":"decorator-woocommerce-email-customizer","display_name":"WebToffee eCommerce Marketing Automation – Email marketing, Popups, Email customizer","version":"2.1.8","risk_level":"medium","risk_score":37.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":5,"superglobal_density":10,"rest_routes":2},"last_analyzed":"2026-11-23T14:32:28.114571","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":96,"num_ratings":54,"tested":"7.1","requires":"6.0","requires_php":"5.6","author":"WebToffee","short_description":"Create and send marketing emails and campaigns. Enable email automations, Popups, spin-a-wheel, sign-up forms, and more. Customize WooCommerce emails.","tags":["email automation","Email Customizer","Email Marketing","popups","woocommerce marketing"],"added":"2016-12-13","last_updated":"2026-08-18 12:30pm GMT","metadata_fetched_at":"2026-08-23T20:04:03.261038+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.1.8"},"security_metrics":{"total_issues":6,"parameters_found":36,"unknown_parameters":0,"headers_accessed":2,"cookies_accessed":0,"wp_hooks":2,"rest_routes":3,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A02":1,"A07":2},"attack_surface_level":"medium","attack_surface_score":44,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":66.1,"rank":155984,"peer_count":460326,"better_than":66.1,"risk_distribution":{"medium":113347,"minimal":51140,"high":175478,"low":82484,"critical":37877}},"executive_summary":null,"vulnerabilities":[{"id":"047e0954-53cd-4f7c-af3f-f24f1b0dfc33","title":"Decorator - WooCommerce Email Customizer < 1.2.8 - Cross-Site Request Forgery","created_at":"2023-11-28T14:00:48.000Z","updated_at":"2024-01-22T20:30:38.000Z","published_date":"2023-11-02T00:00:00.000Z","vuln_type":"CSRF","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/db664d0a-a58d-4d8b-ae0a-074f32d8710c"],"cve":["2023-48284"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.2.8","introduced_in":null},{"id":"c3122264-1d57-4453-91cd-2492e812ee47","title":"WebToffee eCommerce Marketing Automation < 2.1.2 - Missing Authorization","created_at":"2025-12-11T17:36:45.000Z","updated_at":"2025-12-11T17:36:45.000Z","published_date":"2025-10-30T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/961f4a7d-ca95-4c2c-8355-9d1d65cb614d"],"cve":["2025-67599"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.1.2","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":2,"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 '/decorator/warning-status' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/decorator/clear-warning' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":2,"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 'sf_session_type' - Authentication-related parameter — verify login flow hardening","Parameter 'sf_session_id' - Authentication-related parameter — verify login flow hardening"]},{"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 'sf_refresh_token' - Sensitive data exposure"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/decorator/warning-status","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/decorator/clear-warning","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"}],"A02":[{"type":"parameter","name":"sf_refresh_token","locations":{"GET":[{"file":"/plugins/decorator-woocommerce-email-customizer/tags/2.1.8/includes/storefrog/class-storefrog-connector.php","line":331,"offset":11031,"snippet":"$_GET['sf_refresh_token']"},{"file":"/plugins/decorator-woocommerce-email-customizer/tags/2.1.8/includes/storefrog/class-storefrog-connector.php","line":331,"offset":11094,"snippet":"$_GET['sf_refresh_token']"}]},"risk":"Sensitive data exposure"}],"A07":[{"type":"parameter","name":"sf_session_type","locations":{"GET":[{"file":"/plugins/decorator-woocommerce-email-customizer/tags/2.1.8/includes/storefrog/class-storefrog-connector.php","line":327,"offset":10518,"snippet":"$_GET['sf_session_type']"},{"file":"/plugins/decorator-woocommerce-email-customizer/tags/2.1.8/includes/storefrog/class-storefrog-connector.php","line":328,"offset":10731,"snippet":"$_GET['sf_session_type']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"sf_session_id","locations":{"GET":[{"file":"/plugins/decorator-woocommerce-email-customizer/tags/2.1.8/includes/storefrog/class-storefrog-connector.php","line":330,"offset":10910,"snippet":"$_GET['sf_session_id']"},{"file":"/plugins/decorator-woocommerce-email-customizer/tags/2.1.8/includes/storefrog/class-storefrog-connector.php","line":330,"offset":10970,"snippet":"$_GET['sf_session_id']"}]},"risk":"Authentication-related parameter — verify login flow hardening"}]}}