Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in CodexThemes TheGem Theme Elements (for Elementor) allows DOM-Based XSS.This issue affects TheGem Theme Elements (for Elementor): from n/a before 5.12.1.1.
AnalysisAI
DOM-based cross-site scripting (XSS) in CodexThemes TheGem Theme Elements plugin for Elementor allows authenticated attackers with low privileges to inject malicious scripts that execute in the context of other users' browsers when user interaction occurs. The vulnerability affects versions before 5.12.1.1 and requires authenticated access and user interaction to exploit, limiting real-world risk compared to network-vector XSS but still enabling session hijacking, credential theft, or unauthorized admin actions on WordPress sites using this plugin.
Technical ContextAI
TheGem Theme Elements is a WordPress plugin extending Elementor page builder functionality with custom theme elements. The vulnerability stems from improper neutralization of user-supplied input during DOM manipulation (CWE-79), a common class of XSS flaw where client-side JavaScript fails to properly sanitize data before inserting it into the Document Object Model. This differs from reflected or stored XSS because the malicious payload is constructed and executed entirely in the victim's browser via DOM manipulation, rather than being persisted server-side or reflected in HTTP responses. The attack surface is limited to authenticated WordPress users (PR:L per CVSS vector), reducing exposure to site administrators and editors rather than anonymous visitors. The Elementor integration means the XSS payload likely executes within the page builder or front-end rendering context where user-controlled element properties flow into DOM without proper escaping.
RemediationAI
Upgrade TheGem Theme Elements (for Elementor) to version 5.12.1.1 or later immediately via WordPress plugin management (Plugins > Installed Plugins > TheGem Theme Elements > Update). The patch version 5.12.1.1 explicitly addresses the DOM-XSS input neutralization. For sites unable to patch immediately, restrict editor and author roles to trusted users only via WordPress user management (Settings > Users), reducing the authenticated attack surface to administrators. Additionally, enable WordPress security headers (Content-Security-Policy, X-Content-Type-Options) via theme functions.php or security plugin to mitigate XSS payload execution even if the vulnerability is not patched. Test thoroughly on staging environment before live deployment, as Elementor plugin updates sometimes affect page layouts or custom elements. Refer to Patchstack advisory (https://patchstack.com/database/wordpress/plugin/thegem-elements-elementor/vulnerability/wordpress-thegem-theme-elements-for-elementor-plugin-5-12-1-1-cross-site-scripting-xss-vulnerability?_s_id=cve) for detailed patch notes and rollback procedures if needed.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25822