CVE-2025-12412 Top Bar Notification <= 1.12 - Cross-Site Request Forgery to Stored Cross-Site Scripting
Unauthenticated attackers can trick administrators into updating settings and injecting malicious scripts via CSRF in the Top Bar Notification plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-12412?
CVE-2025-12412 is a medium-severity vulnerability in josereyev Top Bar Notification, published on 4 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The Top Bar Notification plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.12. This is due to missing or incorrect nonce validation on th tbn_ajax_add() function. This makes it possible for unauthenticated attackers to update the plugin's settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Weakness: CWE-352
Which versions are affected by CVE-2025-12412?
How do I fix CVE-2025-12412?
No fix has been published for CVE-2025-12412 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-12412 being exploited?
There is no known exploitation of CVE-2025-12412 in the wild and no public exploit code.
Sources
Also known as GHSA-h8rw-xxqw-q838.