{"id":"CVE-2025-12412","state":"PUBLISHED","title":"Top Bar Notification <= 1.12 - Cross-Site Request Forgery to Stored Cross-Site Scripting","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.","publishedAt":"2025-11-04T04:27:12.930Z","updatedAt":"2026-04-08T16:34:13.704Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["josereyev Top Bar Notification"],"affected":[{"vendor":"josereyev","product":"Top Bar Notification","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.12","versionType":"semver"}]}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/0856f3bf-da17-44bb-aa30-26f9fb6e22b1?source=cve","https://plugins.trac.wordpress.org/browser/top-bar-notification/tags/1.12/Notification.php#L102","https://plugins.trac.wordpress.org/browser/top-bar-notification/tags/1.12/Notification.php#L75"],"weaknesses":["CWE-352"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/12xxx/CVE-2025-12412.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-12412","state":"PUBLISHED","datePublished":"2025-11-04T04:27:12.930Z","dateUpdated":"2026-04-08T16:34:13.704Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2025-10-28T15:34:37.419Z"},"containers":{"cna":{"title":"Top Bar Notification <= 1.12 - Cross-Site Request Forgery to Stored Cross-Site Scripting","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"josereyev","product":"Top Bar Notification","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.12","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/0856f3bf-da17-44bb-aa30-26f9fb6e22b1?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/top-bar-notification/tags/1.12/Notification.php#L102"},{"url":"https://plugins.trac.wordpress.org/browser/top-bar-notification/tags/1.12/Notification.php#L75"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352 Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T16:34:13.704Z"},"credits":[{"lang":"en","type":"finder","value":"dayea song"}],"timeline":[{"time":"2025-11-03T15:32:45.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-04T20:53:10.044578Z","id":"CVE-2025-12412","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-04T20:53:26.807Z"}}]}}}