Top Bar Notification WordPress Plugin Cross-Site Request Forgery Vulnerability

Vulnerability

A Cross-Site Request Forgery (CSRF) vulnerability has been identified in the Top Bar Notification plugin for WordPress, affecting all versions through 1.12. The issue arises from inadequate nonce validation in the 'tbn_ajax_add()' function, allowing unauthenticated attackers to manipulate the plugin's settings. Exploitation requires tricking a site administrator into clicking a link, which could lead to the injection of malicious scripts.

Impact

Exploitation of this vulnerability could result in unauthorized changes to the plugin's settings and the injection of malicious web scripts, potentially leading to Cross-Site Scripting (XSS) attacks.

Reproduction

To reproduce this vulnerability, an attacker must exploit the 'tbn_ajax_add()' function, which lacks proper nonce validation. This can be done by sending a forged request to the WordPress site that includes the necessary data to update the plugin's settings. The attacker must also ensure that the request is made while an administrator is tricked into clicking a link that activates the CSRF attack.

Added: Nov 4, 2025, 5:23 AM
Updated: Nov 4, 2025, 5:23 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.4
remediation
0.0
relevance
0.9
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.