Top Bar Announcement Security & Risk Analysis

wordpress.org/plugins/top-bar-announcement

A simple and customizable topbar announcement plugin for WordPress.

0 active installs v1.0.1 PHP 7.4+ WP 6.1+ Updated Jul 30, 2025
alertand-website-notificationbannerpromo-barsticky-message
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Top Bar Announcement Safe to Use in 2026?

Generally Safe

Score 100/100

Top Bar Announcement has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9mo ago
Risk Assessment

The "top-bar-announcement" plugin v1.0.1 demonstrates a strong security posture based on the provided static analysis. It exhibits excellent practices by implementing nonce checks on all its AJAX handlers and performing capability checks where necessary. Furthermore, all SQL queries are properly prepared, and all output is correctly escaped, eliminating common vulnerabilities like SQL injection and Cross-Site Scripting (XSS). The absence of any reported CVEs and a clean taint analysis further reinforces its secure design. The plugin also avoids external HTTP requests and doesn't expose any shortcodes or cron events, reducing its potential attack surface significantly. The only potential concern is the inclusion of a bundled library (Select2), which, if outdated, could introduce vulnerabilities; however, this is not explicitly detailed as a risk in the provided data. Overall, this plugin appears to be very securely coded.

Vulnerabilities
None known

Top Bar Announcement Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Top Bar Announcement Release Timeline

v1.0.1Current
v1.0
Code Analysis
Analyzed Apr 16, 2026

Top Bar Announcement Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
0
135 escaped
Nonce Checks
3
Capability Checks
1
File Operations
2
External Requests
0
Bundled Libraries
1

Bundled Libraries

Select2

Output Escaping

100% escaped135 total outputs
Attack Surface

Top Bar Announcement Attack Surface

Entry Points3
Unprotected0

AJAX Handlers 3

authwp_ajax_announcement_getposts_of_postypetopbar-announcement.php:77
authwp_ajax_toggle_announcement_enabledtopbar-announcement.php:78
authwp_ajax_check_selected_posttypetopbar-announcement.php:79
WordPress Hooks 5
actionadmin_menutopbar-announcement.php:72
actionadmin_inittopbar-announcement.php:73
actionadmin_enqueue_scriptstopbar-announcement.php:74
actionwp_enqueue_scriptstopbar-announcement.php:75
actionwp_headtopbar-announcement.php:76
Maintenance & Trust

Top Bar Announcement Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJul 30, 2025
PHP min version7.4
Downloads262

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Top Bar Announcement Developer Profile

brainvireinfo

16 plugins · 7K total installs

87
trust score
Avg Security Score
90/100
Avg Patch Time
14 days
View full developer profile
Detection Fingerprints

How We Detect Top Bar Announcement

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/top-bar-announcement/assets/css/backend.css/wp-content/plugins/top-bar-announcement/assets/css/frontend.css/wp-content/plugins/top-bar-announcement/assets/css/fontawesome.min.css/wp-content/plugins/top-bar-announcement/assets/css/select2.min.css/wp-content/plugins/top-bar-announcement/assets/js/admin.js/wp-content/plugins/top-bar-announcement/assets/js/select2.min.js
Script Paths
/wp-content/plugins/top-bar-announcement/assets/js/admin.js/wp-content/plugins/top-bar-announcement/assets/js/select2.min.js
Version Parameters
topbar-announcement-style-frontend?ver=1.0topbar-announcement-admin?ver=truetopbar-announcement-style?ver=1.0topbar-fontawesome-style?ver=1.0topbar-select2-style?ver=1.0topbar-announcement/assets/js/admin.js?ver=truetopbar-announcement/assets/css/backend.css?ver=1.0topbar-announcement/assets/css/frontend.css?ver=1.0topbar-announcement/assets/css/fontawesome.min.css?ver=1.0topbar-announcement/assets/js/select2.min.js?ver=1.0topbar-announcement/assets/css/select2.min.css?ver=1.0

HTML / DOM Fingerprints

CSS Classes
topbar-custom-msgtopbar_announcement_toggle_enable_wraptopbar_announcement_toggle_enable
Data Attributes
topbar_announcement_settings[enabled]
JS Globals
topbar_announcement_ajax
REST Endpoints
/wp-json/announcement_getposts_of_postype/wp-json/toggle_announcement_enabled/wp-json/check_selected_posttype
FAQ

Frequently Asked Questions about Top Bar Announcement