Skip to main content

TheGem Theme Elements (Elementor) CVE-2026-42410

| EUVDEUVD-2026-25822 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-27 Patchstack
6.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain contributor credentials or compromise existing account
  2. Delivery
    Log into WordPress admin
  3. Exploit
    Open Elementor page builder
  4. Install
    Inject XSS payload into TheGem element input field
  5. C2
    Victim views or edits page
  6. Execute
    Malicious script executes in victim's browser DOM context
  7. Impact
    Steal 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

TheGem Theme Elements (for Elementor) n/a <5.12.1.1

Affected Packages

euvd thegem_theme_elements_for_elementor_n_a fix: 5.12.1.1

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

Vendor (Patchstack) PRIMARY 6.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

3
Patch released
Apr 27, 2026 - 18:37 nvd
Patch available
Patch available
Apr 27, 2026 - 13:01 EUVD
CVE Published
Apr 27, 2026 - 10:41 nvd
MEDIUM 6.5

DescriptionCVE.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

EPSS Score
0.0%
Top 90% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy