CVE-2026-8981: CWE-79 Cross-Site Scripting (XSS) in Custom Block Builder
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.
AI Analysis
Technical Summary
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.
CVE-2026-8981: CWE-79 Cross-Site Scripting (XSS) in 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
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.