Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

CVE-2026-8981: CWE-79 Cross-Site Scripting (XSS) in Custom Block Builder

0
Low
VulnerabilityCVE-2026-8981cvecve-2026-8981cwe-79
Published: 06/09/2026 (06/09/2026, 06:00:09 UTC)
Source: CVE Database V5
Product: Custom Block Builder

Description

The Custom Block Builder WordPress plugin before version 4.3.0 contains a cross-site scripting (XSS) vulnerability. This occurs because the plugin does not consistently verify the unfiltered_html capability when writing to block template code fields. As a result, administrators on multisite installations or single-site installs with DISALLOW_UNFILTERED_HTML defined can inject arbitrary JavaScript. This malicious script executes for any visitor viewing pages with the affected block. The vulnerability has a low severity score and no known exploits in the wild.

CVSS v3.1

Score 3.5low

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N

Affected software

Affected versions
<4.3.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/16/2026, 08:48:58 UTC

Technical Analysis

CVE-2026-8981 is a CWE-79 Cross-Site Scripting vulnerability in the Custom Block Builder WordPress plugin versions prior to 4.3.0. The issue arises from inconsistent checks of the unfiltered_html capability across all code paths that write to block template code fields. This allows administrators on multisite WordPress installations, or single-site installs with the DISALLOW_UNFILTERED_HTML constant defined, to inject arbitrary JavaScript code. This code executes in the context of any visitor loading pages embedding the affected block, potentially leading to client-side script execution. The vulnerability is rated with a CVSS 3.1 base score of 3.5 (low severity). No official patch or remediation level has been published yet, and no known exploits have been reported.

Potential Impact

The vulnerability allows administrators with certain capabilities on multisite or restricted single-site WordPress installations to inject arbitrary JavaScript into block template code fields. This script executes in the browsers of visitors to pages containing the affected block, potentially leading to client-side script execution. The impact is limited to low severity with partial confidentiality and integrity impact, no availability impact, and requires administrator privileges and user interaction to exploit.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should be cautious when managing block template code fields and consider restricting administrative access. Monitoring for plugin updates and applying them promptly once available is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
WPScan
Date Reserved
2026-05-19T13:11:53.990Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a27adb3e29bf47b504f94cb

Added to database: 06/09/2026, 06:07:47 UTC

Last enriched: 06/16/2026, 08:48:58 UTC

Last updated: 07/31/2026, 19:23:00 UTC

Views: 55

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses