LiveActive security incident?Get immediate response
CVE Record

CVE-2026-4329: Blackhole for Bad Bots <= 3.8 - Unauthenticated Stored Cross-Site Scripting via User-Agent HTTP Header

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.

HighCVSS 7.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-4329 affects the WordPress plugin Blackhole for Bad Bots through version 3.8. A remote unauthenticated attacker can plant script content in bot log data through the User-Agent header. The script can run later when an administrator opens the plugin’s Bad Bots log page, creating a risk to admin sessions and site integrity.

Executive priority

Treat as high priority for public WordPress sites using this plugin. It does not indicate server takeover by itself, but it can compromise administrator browser sessions and enable follow-on actions inside WordPress. Prioritize inventory, update guidance, and limiting admin exposure.

Technical view

The plugin stores User-Agent-derived bot data after sanitize_text_field(), then outputs stored values in admin HTML attributes and span content without esc_attr() or esc_html(). Wordfence rates this as CVSS 7.2, CWE-79 stored XSS, affecting versions up to and including 3.8. The WordPress Trac references show the relevant storage and rendering locations.

Likely exposure

Exposure is limited to WordPress sites running Blackhole for Bad Bots version 3.8 or earlier. The attack path is network-accessible and unauthenticated, but execution occurs when an administrator views the affected Bad Bots admin page.

Exploitation context

No provided source or KEV entry confirms active exploitation. The issue is practical because attackers can influence User-Agent headers at scale, and bot-blocking plugins commonly collect that data. Administrator interaction with the plugin log page is the execution trigger described by the sources.

Researcher notes

The core weakness is stored XSS from insufficient contextual output encoding. The source description identifies update_option() storage and unsafe rendering in badbots-register.php lines 75-83 and span output. The CVSS vector lists UI:N, but the narrative states execution happens when an administrator views the admin page.

Mitigation direction

  • Inventory WordPress sites for Blackhole for Bad Bots versions 3.8 or earlier.
  • Check vendor or WordPress plugin guidance for a fixed release and update promptly.
  • Restrict administrator access to the plugin log page until remediation is confirmed.
  • Avoid viewing suspicious Bad Bots logs on production before patching.
  • Back up the site before plugin updates or emergency removal.

Validation and detection

  • Confirm installed plugin version across all WordPress environments.
  • Review vendor changelog or Trac changeset for escaping fixes.
  • Verify output uses esc_attr() for attributes and esc_html() for text content.
  • Review stored Bad Bots entries for suspicious User-Agent content.
  • Test remediation in staging before administrators revisit affected logs.
Prepared
Confidence
high
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-4329 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
9Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N3.92.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.2High
CVSS 3.1 vector shape for CVE-2026-4329Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
specialkBlackhole for Bad Bots0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.