CVE-2026-4658: Gutenberg Essential Blocks <= 6.0.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Block Attributes

Published May 2, 2026
·
Updated

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 rendercallback() function where these attributes are placed into class and data-id HTML attributes using raw sprintf() and implode() without escattr() escaping. While the outer wrapper div uses getblockwrapperattributes() 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.

Affected Software

1 affected component
WPDeveloper Essential Blocks<=6.0.4

Event History

May 2, 2026
CVE Published
via MITRE·04:27 AM
Data Sourced
via MITRE·04:27 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-4658?

CVE-2026-4658 has a high severity rating due to the potential for stored cross-site scripting attacks affecting authenticated users.

2

How do I fix CVE-2026-4658?

To remediate CVE-2026-4658, update the Essential Blocks plugin for WordPress to version 6.0.5 or later, which addresses the vulnerability.

3

Who is affected by CVE-2026-4658?

CVE-2026-4658 affects users of the WPDeveloper Essential Blocks plugin for WordPress versions 6.0.4 and earlier.

4

What type of vulnerability is CVE-2026-4658?

CVE-2026-4658 is classified as a stored cross-site scripting (XSS) vulnerability.

5

What data can be compromised through CVE-2026-4658?

CVE-2026-4658 can allow attackers to inject malicious scripts, potentially leading to data theft or session hijacking for users with Contributor or higher roles.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203