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…

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/02/2026, 05:36:50 UTC

Technical Analysis

CVE-2026-4658 is a stored cross-site scripting vulnerability in the WordPress plugin 'Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns' affecting all versions up to 6.0.4. The vulnerability occurs because the render_callback() function inserts the className, classHook, and blockId attributes into inner div elements using raw sprintf() and implode() without proper escaping (esc_attr()). Although the outer wrapper div is properly escaped, the inner divs are not, enabling authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code that executes when the page is viewed.

Potential Impact

An attacker with Contributor-level or higher privileges can inject malicious scripts into pages via vulnerable attributes in the Add to Cart block. These scripts execute in the context of users viewing 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. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — no official fix or remediation guidance has been provided by the vendor. Until a patch is available, restrict Contributor-level access to trusted users only and consider removing or disabling the vulnerable Add to Cart block if feasible. Monitor the vendor's advisory channels for updates and apply official patches once 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/2/2026, 5:36:50 AM

Last updated: 5/3/2026, 6:15:17 AM

Views: 10

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