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
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
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.
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25822