{"summary":{"plugin_name":"hashbar-wp-notification-bar","display_name":"HashBar – Announcement, Notification Bar & Popup Campaign","version":"2.0.7","risk_level":"medium","risk_score":40.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":5,"superglobal_density":5,"rest_routes":10},"last_analyzed":"2026-11-23T14:26:01.990627","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":9000,"rating":84,"num_ratings":38,"tested":"7.1.5","requires":"5.3","requires_php":"False","author":"DevItems","short_description":"Create Announcement Bars, Notification Bars & Popup Campaigns with countdown timers, A/B testing, smart targeting & analytics.","tags":["announcement bar","countdown timer","lead capture","notification bar","popup"],"added":"2018-01-08","last_updated":"2026-11-17 11:22am GMT","metadata_fetched_at":"2026-11-22T11:11:37.452397+00:00","modules_missing":[],"modules_failed":[],"latest_release":"2.0.7"},"security_metrics":{"total_issues":24,"parameters_found":34,"unknown_parameters":1,"headers_accessed":5,"cookies_accessed":3,"wp_hooks":2,"rest_routes":59,"query_vars":0,"shortcode_atts":2,"rest_routes_with_access_patterns":4,"file_upload_parameters":0,"owasp_findings":{"A01":7,"A03":2},"attack_surface_level":"large","attack_surface_score":154,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":27},"comparison":{"percentile":61.8,"rank":190925,"peer_count":499892,"better_than":61.8,"risk_distribution":{"low":100914,"high":178019,"medium":121171,"critical":38808,"minimal":60980}},"executive_summary":null,"vulnerabilities":[{"id":"b430fdaa-191a-429e-b6d2-479b32bb1075","title":"HashBar – WordPress Notification Bar < 1.3.6 - Contributor+ Stored XSS via Shortcode","created_at":"2022-12-27T07:22:37.000Z","updated_at":"2022-12-27T07:22:38.000Z","published_date":"2022-12-27T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2022-4650"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.3.6","introduced_in":null},{"id":"39e3be43-3f19-486e-abeb-25428a1a7ead","title":"HashBar – WordPress Notification Bar < 1.4.2 - Authenticated (Author+) Stored Cross-Site Scripting","created_at":"2024-01-05T10:41:15.000Z","updated_at":"2024-01-22T20:30:20.000Z","published_date":"2023-12-26T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/6f3e4e53-3a4a-4b9d-845c-927a59e03488"],"cve":["2023-51372"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.4.2","introduced_in":null},{"id":"f52f4d22-7c0b-41cc-890b-3a3fe3103c2f","title":"HashBar – Announcement, Notification Bar & Popup Campaign < 2.0.1 - Cross-Site Request Forgery","created_at":"2026-08-24T16:42:39.000Z","updated_at":"2026-08-24T16:42:39.000Z","published_date":"2026-08-18T00:00:00.000Z","vuln_type":"CSRF","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/88b4791e-8c48-446e-b713-8958d60f668f"],"cve":["2026-66602"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.0.1","introduced_in":null},{"id":"46f9b40c-e3b2-485b-987d-a6206433fb48","title":"HashBar – Announcement, Notification Bar & Popup Campaign < 2.0.4 - Authenticated (Administrator+) SQL Injection","created_at":"2026-09-29T20:42:40.000Z","updated_at":"2026-09-29T20:42:40.000Z","published_date":"2026-09-21T14:27:00.000Z","vuln_type":"SQLI","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/c6a4fffa-8cfe-4bfc-ad79-55132ff6d7d6"],"cve":["2026-94117"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"2.0.4","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"critical","findings_count":7,"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 '/popup-ab-test/track' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/popup-ab-test/assign' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/announcement-analytics/batch' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/popup-analytics/batch' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/popup-campaigns/(?P<id>\\d+)/submit' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers"]},{"category":"A03","name":"Injection","severity":"medium","findings_count":2,"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 'query_args' - Parameter name suggests injection sink — verify sanitization","Pattern 'sqli_interpolated' x21 - Interpolated variable in SQL query string (21 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/popup-ab-test/track","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/popup-ab-test/assign","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/announcement-analytics/batch","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/popup-analytics/batch","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/popup-campaigns/(?P<id>\\d+)/submit","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["admin/settings-panel/api/pages-posts-ajax.php:86"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"},{"type":"pattern_match","pattern":"rest_no_permission","count":5,"severity":"high","examples":["admin/settings-panel/api/popup-ab-test-api.php:33","admin/settings-panel/api/popup-ab-test-api.php:110","inc/announcement-analytics-processor.php:51"],"risk":"REST endpoint with no permission check (5 occurrence(s))"}],"A03":[{"type":"parameter","name":"query_args","locations":{"POST":[{"file":"/plugins/hashbar-wp-notification-bar/tags/2.0.7/libs/codestar-framework/functions/actions.php","line":167,"offset":4677,"snippet":"$_POST['query_args']"},{"file":"/plugins/hashbar-wp-notification-bar/tags/2.0.7/libs/codestar-framework/functions/actions.php","line":167,"offset":4725,"snippet":"$_POST['query_args']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"pattern_match","pattern":"sqli_interpolated","count":21,"severity":"critical","examples":["admin/settings-panel/api/announcement-analytics-api.php:137","admin/settings-panel/api/announcement-analytics-api.php:140","admin/settings-panel/api/announcement-analytics-api.php:143"],"risk":"Interpolated variable in SQL query string (21 occurrence(s))"}]}}