PT-2026-28202 · Specialk · The Blackhole For Bad Bots
Published
2026-03-26
·
Updated
2026-03-26
·
CVE-2026-4329
CVSS v3.1
7.2
High
| AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
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.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
The Blackhole For Bad Bots