Skip to main content

Custom Block Builder CVE-2026-8981

| EUVDEUVD-2026-35352 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-09 contact@wpscan.com GHSA-cfcv-65jq-76jw
3.5
CVSS 3.1 · Vendor: wpscan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker obtains WordPress admin credentials
  2. Delivery
    Navigates to Custom Block Builder template editor
  3. Exploit
    Injects JavaScript via unprotected code field path
  4. Execution
    Payload persists in block template storage
  5. Persist
    Victim visits page embedding the affected block
  6. Impact
    Injected script executes in victim browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authentication as a WordPress administrator is required (CVSS PR:H confirmed). The vulnerability is only exploitable under one of two specific deployment conditions: (1) a WordPress multisite network installation, where site-level administrators are intentionally denied the unfiltered_html capability by WordPress core policy, or (2) a single-site WordPress install with DISALLOW_UNFILTERED_HTML explicitly defined in wp-config.php. On standard single-site WordPress installs without DISALLOW_UNFILTERED_HTML, administrators already hold unfiltered_html and the capability bypass is moot - exploitation in that context provides no meaningful escalation. Visitor interaction (page load) is also required for XSS execution (CVSS UI:R). The limiting factors for defenders: attacker must already have admin credentials, the deployment must specifically be multisite or have DISALLOW_UNFILTERED_HTML set, and the injected block must be embedded on a visited page.

Impact

The CVSS 3.5 (Low) score is aligned with real-world risk here and should not be inflated. The vector AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N signals several meaningful constraints: the attacker must already hold administrator-level credentials (PR:H), and victim user interaction is required (UI:R, page visit). The practical threat is a malicious or compromised site administrator on a multisite WordPress network abusing the capability gap to escalate impact beyond what multisite policy intends - effectively a privilege boundary bypass within the admin tier, not a remote unauthenticated attack. EPSS data is not provided; given the narrow exploitation conditions (specific multisite or DISALLOW_UNFILTERED_HTML configurations, existing admin compromise), widespread opportunistic exploitation is unlikely. There is no KEV listing and no public exploit code reported at time of analysis. The low confidentiality and integrity impact scores reflect that XSS payloads can steal cookies or perform on-behalf-of actions but do not achieve server-side code execution or data exfiltration at scale from a single block injection. Overall, this is a genuine security boundary issue for multisite operators with untrusted sub-site admins, but a low operational priority for single-site installs where the only administrator is fully trusted.

Exploit ScenarioDerived

A site administrator on a multisite WordPress network - who legitimately has access to the Custom Block Builder interface but should be restricted from injecting raw JavaScript by the multisite permission model - navigates to the plugin's block template editor and submits a malicious payload via a code field path that skips the unfiltered_html check. The script is stored in the block template and subsequently rendered in the browsers of every visitor to any page on the network that embeds the affected block, enabling session cookie theft or on-behalf-of actions. No public proof-of-concept code has been reported, but the attack requires only standard WordPress admin UI interactions.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 09, 2026

Stored cross-site scripting in the Custom Block Builder WordPress plugin (versions before 4.3.0) allows authenticated administrators to inject persistent JavaScript into block template code fields that executes in every visitor's browser on pages embedding the affected block. The vulnerability is specifically scoped to multisite WordPress installations or single-site deployments where DISALLOW_UNFILTERED_HTML is defined - environments that are supposed to restrict the unfiltered_html capability from lower-trust administrators. The root cause is inconsistent capability enforcement: certain code paths writing to block template fields bypass the unfiltered_html check that should gate raw HTML/JS input. No public exploit identified at time of analysis, and the CVSS score of 3.5 reflects the high-privilege prerequisite and limited confidentiality/integrity impact.

RemediationAI

Update the Custom Block Builder plugin to version 4.3.0 or later, which is confirmed as the patched release per vendor data from EUVD-2026-35352. The update closes the inconsistent unfiltered_html capability check across all block template code field write paths. For operators unable to update immediately, the most effective compensating control is to restrict the WordPress administrator role on multisite networks to only fully trusted individuals, thereby eliminating the untrusted-admin threat actor. Alternatively, auditing existing block templates for unexpected script tags or event handler attributes can identify prior injections. Removing the plugin entirely until patching is feasible is a zero-risk workaround but eliminates block-building functionality. Note that setting DISALLOW_UNFILTERED_HTML is a hardening measure that the plugin's bypass defeats - it does not serve as a compensating control against this specific CVE. Advisory references: WPScan at https://wpscan.com/vulnerability/9815b0e6-e411-4a5c-9c63-30bad21da698/ and VulDB at https://vuldb.com/vuln/369453.

Affected VersionsENISA

Custom Block Builder 0 <4.3.0

Affected Packages

euvd custom_block_builder fix: 4.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Custom Block Builder plugin (affected CPE inferred as wordpress plugin custom-block-builder < 4.3.0) extends WordPress's Gutenberg editor by providing a UI for authoring custom block templates. WordPress natively gates raw HTML and JavaScript injection through the unfiltered_html capability, which multisite super admins hold but regular site admins do not - and which is globally suppressed when DISALLOW_UNFILTERED_HTML is set in wp-config.php. CWE-79 (Improper Neutralization of Input During Web Page Generation) applies here: the plugin correctly checks unfiltered_html on some code paths writing to block template fields but omits the check on others, creating a bypass. The injected script is stored server-side and rendered to all visitors of any page that includes the affected block, making this a persistent (stored) rather than reflected XSS variant.

Know when WordPress gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wpscan) PRIMARY 3.5 LOW
AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N

Primary rating from Vendor (wpscan) · only source for this CVE.

CVSS VectorVendor: wpscan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
CVSS changed
Jun 09, 2026 - 11:22 NVD
3.5 (LOW)
Patch available
Jun 09, 2026 - 08:01 EUVD
CVE Published
Jun 09, 2026 - 06:16 nvd
UNKNOWN (no severity yet)
CVE Published
Jun 09, 2026 - 06:16 nvd
LOW 3.5

DescriptionCVE.org

The Custom Block Builder WordPress plugin before 4.3.0 does not consistently check the unfiltered_html capability across all paths that write to its block template code fields, allowing administrators on multisite installations (or single-site installs with DISALLOW_UNFILTERED_HTML defined) to inject arbitrary JavaScript that executes for any visitor of pages embedding the affected block.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2026-63030 CRITICAL POC
9.8 Jul 17

Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy