The Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the maker title value of the Google Maps block in all versions up to, and including, 5.0.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Security readout for executives and security teams
Plain-English summary
This WordPress plugin flaw lets a logged-in administrator store script content in a Google Maps block marker title. The script can run when someone views the affected page. Business risk is limited by the need for administrator access and specific WordPress configurations, but it still matters on multisite or hardened sites where administrators should not be able to post unfiltered scripts.
Executive priority
Treat this as a controlled, moderate-priority WordPress maintenance issue. It is not remotely exploitable without admin access based on available sources, but affected multisite and restricted-admin environments should patch promptly because stored XSS can undermine user trust and admin boundary controls.
Technical view
CVE-2024-12045 is stored cross-site scripting in Essential Blocks for WordPress through insufficient sanitization and escaping of the Google Maps block marker title. Sources describe affected versions up to and including 5.0.9. Exploitation requires authenticated administrator-level access and applies only to multisite installations or installations where unfiltered_html is disabled.
Likely exposure
Exposure is likely limited to WordPress sites running Essential Blocks <= 5.0.9, especially WordPress multisite environments or sites that disable unfiltered_html. Single-site deployments allowing trusted administrators to use unfiltered HTML may not match the stated affected conditions.
Exploitation context
The source bundle does not show active exploitation, and the CVE is not listed as CISA KEV. An attacker must already have administrator-level WordPress access, making this more relevant to tenant isolation, compromised admin accounts, or environments where admin script injection is intentionally restricted.
Researcher notes
The key constraints are high privileges, configuration-specific impact, and stored execution on page view. The Trac reference points to marker.js changes in the Google Maps block, but the bundle does not provide exploit evidence. Avoid broad claims about all WordPress sites using this plugin without confirming version and configuration.
Mitigation direction
Inventory WordPress sites using the Essential Blocks plugin.
Upgrade affected installations beyond version 5.0.9 following vendor guidance.
Prioritize multisite environments and sites with unfiltered_html disabled.
Review pages using the Google Maps block for unexpected marker title content.
Restrict administrator access and investigate any recently compromised admin accounts.
Validation and detection
Confirm the installed Essential Blocks version on each WordPress site.
Identify whether the site is multisite or has unfiltered_html disabled.
Check whether Google Maps blocks are used on public pages.
Review relevant pages for unexpected stored script-like content.
Verify the deployed plugin includes the referenced Google Maps marker handling change.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.