XSS in Specialk Blackhole For Bad Bots
CVE-2026-4329
- CVSS v3
- 7.2 High
- Public exploits
- None known
- EPSS
- 0.004 · 30.2th percentile
- Published
- 2026-03-26
The Blackhole for Bad Bots plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the User-Agent HTTP header in all versions up to and including 3.8. This is due to insufficient input sanitization and output escaping. The plugin uses sanitize_text_field() when capturing bot data (which strips HTML tags but does not escape HTML entities like double quotes), then stores the data via update_option(). When an administrator views the Bad Bots log page, the stored data is output directly into HTML input value attributes (lines 75-83) without esc_attr() and into HTML span content without esc_html(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the Blackhole Bad Bots admin page.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 30.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Specialk Blackhole For Bad Bots — versions 0
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/a71992e2-fdac-4e89-8867-4b771…
- plugins.trac.wordpress.org/browser/blackhole-bad-bots/trunk/inc/badbots-registe…
- plugins.trac.wordpress.org/browser/blackhole-bad-bots/trunk/inc/badbots-registe…
- plugins.trac.wordpress.org/browser/blackhole-bad-bots/trunk/inc/badbots-registe…
- plugins.trac.wordpress.org/browser/blackhole-bad-bots/tags/3.8/inc/badbots-regi…
- plugins.trac.wordpress.org/browser/blackhole-bad-bots/tags/3.8/inc/badbots-regi…
- plugins.trac.wordpress.org/browser/blackhole-bad-bots/tags/3.8/inc/badbots-regi…
- plugins.trac.wordpress.org/browser/blackhole-bad-bots/trunk/inc/blackhole-helpe…
- plugins.trac.wordpress.org/browser/blackhole-bad-bots/tags/3.8/inc/blackhole-he…
- plugins.trac.wordpress.org/browser/blackhole-bad-bots/trunk/inc/blackhole-core…