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

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-4658
CVSS 6.4 (Medium)
Publicly Published May 1, 2026
Last Updated May 2, 2026
Researchers Jack Pas (Dark.) - Black Lantern Security
normaandersonfrank

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns

Software Type Plugin
Software Slug essential-blocks (view on wordpress.org)
Patched? Yes
Remediation Update to version 6.1.0, or a newer patched version
Affected Version
  • <= 6.0.4
Patched Version
  • 6.1.0

Recent vulnerabilities in Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns

# Title CVE ID CVSS Researchers Date
1 Gutenberg Essential Blocks - Page Builder for Gutenberg Blocks & Patterns <= 6.1.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'configurablePrefix' Block Attribute CVE-2026-10833 6.4 Viet Anh Ngo June 24, 2026
2 Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns <= 6.1.3 - Authenticated (Author+) Server-Side Request Forgery CVE-2026-10586 7.2 Shambles June 4, 2026
3 Essential Blocks <= 5.7.2 - Missing Authorization To Authenticated (Author+) Information Disclosure CVE-2025-11369 4.3 Dmitrii Ignatyev December 16, 2025
4 Essential Blocks <= 5.7.1 - Authenticated (Author+) Server-Side Request Forgery CVE-2025-11361 6.4 Dmitrii Ignatyev October 17, 2025
5 Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns <= 5.7.1 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-11270 6.4 Rafshanzani Suhada October 17, 2025
6 Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates <= 5.4.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Slider and Post Carousel Widgets CVE-2025-4682 6.4 Webbernaut May 26, 2025
7 Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates <= 5.3.1 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-1664 6.4 Webbernaut March 7, 2025
8 Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates <= 5.2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-13803 6.4 zer0gh0st February 25, 2025
9 Essential Blocks for Gutenberg <= 4.8.3 - Missing Authorization CVE-2025-26871 4.3 Rafie Muhammad February 22, 2025
10 Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates <= 5.0.9 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2024-12045 4.4 zer0gh0st January 7, 2025

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation