CVE-2026-5924: Getwid <= 2.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Google Maps 'customStyle'
The Getwid – Gutenberg Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Google Maps block's 'customStyle' attribute in all versions up to, and including, 2.1.3. This is due to the use of eval() on user-controlled block content in the frontend JavaScript mapStyles() function. 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.
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be authenticated with Contributor-level access or higher. The vulnerable input is the Google Maps block's customStyle attribute.
Who is exposed to the injected script?
Any user who accesses a page containing the attacker-injected Google Maps block content can trigger execution of the stored script in their browser.
Which installations are affected?
Getwid versions up to and including 2.1.3 are affected. The issue is in frontend JavaScript handling for the Google Maps block.