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.3%top 79%

CVE-2026-4658: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpdevteam Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns

0
Medium
VulnerabilityCVE-2026-4658cvecve-2026-4658cwe-79
Published: Sat May 02 2026 (05/02/2026, 04:27:44 UTC)
Source: CVE Database V5
Vendor/Project: wpdevteam
Product: Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns

Description

The Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the className, classHook, and blockId attributes in the Add to Cart block (essential-blocks/add-to-cart) in all versions up to, and including, 6.0.4. This is due to insufficient output escaping in the render_callback() function where these attributes are placed into class and data-id HTML attributes using raw sprintf() and implode() without esc_attr() escaping. While the outer wrapper div uses get_block_wrapper_attributes() which properly escapes, the inner divs do not. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS v3.1

Score 6.4medium

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

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/10/2026, 02:11:04 UTC

Technical Analysis

The Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates WordPress plugin suffers from a stored XSS vulnerability (CWE-79) in the Add to Cart block. Specifically, the className, classHook, and blockId attributes are inserted into class and data-id HTML attributes without proper escaping in the render_callback() function. This allows authenticated users with Contributor-level permissions or higher to inject malicious JavaScript code that executes in the context of any user viewing the compromised page. The vulnerability affects all versions up to 6.0.4. The CVSS 3.1 base score is 6.4, indicating medium severity, with network attack vector, low attack complexity, and no user interaction required.

Potential Impact

An attacker with Contributor-level or higher privileges can inject persistent malicious scripts into pages via vulnerable attributes. These scripts execute in the browsers of users who visit the infected pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not affect availability but impacts confidentiality and integrity of user sessions and data. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — no official fix or patch links are provided by the vendor at this time. Users should monitor the vendor's advisory channels for updates. Until a patch is available, restrict Contributor-level access to trusted users only and consider disabling or removing the vulnerable Add to Cart block if feasible. Avoid exposing pages with this block to untrusted users. Follow vendor guidance once an official fix is released.

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
Wordfence
Date Reserved
2026-03-23T15:37:56.964Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69f589f3cbff5d861095a050

Added to database: 5/2/2026, 5:21:55 AM

Last enriched: 5/10/2026, 2:11:04 AM

Last updated: 6/17/2026, 12:56:43 AM

Views: 53

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