Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain contributor credentials or compromise existing account
-
DeliveryLog into WordPress admin
-
ExploitOpen Elementor page builder
-
InstallInject XSS payload into TheGem element input field
-
C2Victim views or edits page
-
ExecuteMalicious script executes in victim's browser DOM context
-
ImpactSteal session cookie or trigger unauthorized admin action
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following: (1) Valid authenticated WordPress user account with at least contributor or editor role (PR:L). (2) Access to Elementor page builder to modify pages containing TheGem Theme Elements. (3) User interaction - the payload executes when another user views or edits the affected page (UI:R). (4) The TheGem Theme Elements component must have an unvalidated input field that flows into the DOM without proper escaping (CWE-79 context); the exact vulnerable parameter is not specified in available data but likely involves element properties like title, description, URL, or custom data attributes. (5) The victim must be logged into WordPress or have active session cookie; unauthenticated users are not targeted. No special network configuration, non-default plugin settings, or platform-specific requirements are evident from the description. The vulnerability is NOT exploitable by anonymous users or against default WordPress installations where user registration is disabled. |
| Impact | CVSS 6.5 with AV:N/AC:L/PR:L/UI:R/S:C indicates moderate severity: network-accessible but requiring authenticated access, low attack complexity, and user interaction. The PR:L (low privilege) requirement significantly reduces real-world risk compared to unauthenticated XSS, as exploitation requires valid WordPress account credentials. However, the scope change (S:C) and confidentiality/integrity impact (C:L/I:L) confirm cross-domain cookie/session theft and site defacement are viable. The requirement for user interaction (UI:R) further limits automation-an attacker cannot trigger the payload unilaterally. EPSS score not provided; without exploitation probability data, real-world prioritization depends on whether targeted WordPress sites have loose editor permissions or if attackers can obtain low-privileged credentials. No CISA KEV or public exploit code mentioned, suggesting limited active exploitation at analysis time. For many organizations, this ranks below unauthenticated network RCE but above purely local DoS in the patch queue. Risk is heightened for multi-author WordPress sites or those with contractor/contributor accounts. Verify with Patchstack whether DOM-XSS requires specific element configurations or is universal across all theme elements. |
| Exploit ScenarioDerived | A WordPress site administrator grants a contractor contributor-level editing permissions on the site. The contractor (or an attacker who compromises the contributor account) logs into WordPress, accesses Elementor page builder, and edits a page containing a TheGem Theme Element (e.g., a custom gallery or card component). The attacker injects a malicious JavaScript payload into a user-input field of that element (such as a title, caption, or data attribute) that is not properly sanitized. When another user (potentially the site owner or admin) visits or edits that page in the browser, the payload executes in the DOM context, stealing the victim's WordPress session cookie or triggering unauthorized admin actions via the compromised session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 27, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Primary rating from Vendor (Patchstack) · only source for this CVE.
CVSS VectorVendor: Patchstack
Lifecycle Timeline
3DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
EUVD-2026-25822
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB