Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or register Contributor account on target site
-
DeliveryEmbed XSS payload in TheGem theme content field
-
ExploitPayload stored in WordPress database
-
ExecutionAdministrator or Editor views malicious content
-
PersistJavaScript executes in victim browser
-
ImpactExfiltrate session cookie or perform admin-level actions
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 the attacker to hold at minimum a Contributor-level WordPress account on the target site - a non-default but common scenario on multi-author blogs, news portals, or sites that allow user registration with content creation rights. A higher-privileged user (Editor or Administrator) must subsequently view or interact with the content containing the injected payload, introducing a timing dependency (UI:R). No special server-side configuration, non-default plugin, or unusual deployment mode is indicated beyond the presence of the TheGem theme at version 5.11.1 or earlier and the attacker holding the Contributor role. Exploitation is concretely limited by: (1) the requirement for a valid Contributor account, ruling out unauthenticated attack scenarios entirely; (2) the need for a privileged user to actively view the malicious content; and (3) scope is restricted to WordPress installations actively running TheGem ≤ 5.11.1 as the active theme. |
| Impact | The CVSS 3.1 Medium score of 6.5 reflects a realistic but gated threat: the attack is network-delivered with low complexity (AV:N/AC:L), but requires a low-privileged account (PR:L - Contributor role) and user interaction from a victim (UI:R). The scope change elevates real-world severity beyond the score suggests, because successful exploitation can result in administrator session hijacking and full site compromise. EPSS data is absent from available intelligence, preventing probabilistic exploitation forecasting. The absence of a CISA KEV listing and lack of identified public proof-of-concept suggest the vulnerability has not yet seen opportunistic or widespread exploitation. Real-world risk is moderate-to-elevated for multi-author WordPress deployments - news portals, community platforms, or any site granting Contributor access to external or semi-trusted users - where the attack path from Contributor to Administrator compromise is direct. Sites with strict user registration controls or single-author configurations face materially lower risk. |
| Exploit ScenarioDerived | An attacker registers or compromises a Contributor account on a TheGem-powered WordPress site and embeds a JavaScript payload - such as a cookie-stealing script - within a post field or theme-specific input that lacks output encoding. When a site administrator later reviews, previews, or approves the submitted content, the script executes silently in their browser, exfiltrating the admin session cookie to an attacker-controlled endpoint and enabling full administrative takeover. No public proof-of-concept has been identified, but the attack technique is well-understood and requires no specialized tooling beyond a valid Contributor login. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Stored Cross-Site Scripting in TheGem WordPress theme versions up to and including 5.11.1 allows low-privileged Contributor-role users to inject malicious JavaScript into site content, which then executes in the browsers of higher-privileged users - such as administrators - who view or manage that content. The CVSS scope-changed attribute (S:C) confirms the injected payload crosses security boundaries, extending impact beyond the contributor session into an admin or editor context. No public exploit code or active exploitation has been identified at time of analysis; the vulnerability was reported by Patchstack with a CVSS 6.5 Medium rating.
RemediationAI
Update TheGem to the first version released after 5.11.1 from the CodexThemes official source or WordPress theme repository; the exact patched version is not confirmed in the available intelligence data, so verify the current release against the Patchstack advisory at https://patchstack.com/database/wordpress/theme/thegem/vulnerability/wordpress-thegem-theme-5-11-1-cross-site-scripting-xss-vulnerability before updating. As an interim compensating control, audit and restrict Contributor-role assignments to only fully trusted internal users, removing that role from any external, guest, or community-registered accounts - this eliminates the required attacker foothold without affecting site functionality. A WAF rule targeting XSS patterns in POST body parameters can reduce exposure but may block legitimate rich-content submission from contributors. Pending the patch, administrators should manually review all Contributor-submitted content before publication.
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 is a commercial multipurpose WordPress theme developed by CodexThemes (CPE: cpe:2.3:a:codexthemes:thegem:*:*:*:*:*:*:*:*). The root cause is CWE-79 - Improper Neutralization of Input During Web Page Generation - meaning user-supplied input accepted from Contributor-role users is not adequately sanitized or HTML-encoded before being rendered in theme output. In the WordPress permission model, Contributors can create and submit posts but cannot publish directly; however, if theme-specific fields, shortcodes, or metadata accept raw HTML from this role without escaping, a stored XSS payload persists in the database and fires when an editor or administrator renders the page. The scope change in the CVSS vector (S:C) confirms execution occurs in a security context different from where the payload was inserted, characteristic of stored XSS affecting other authenticated users.
Know when Thegem 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
Contributor role requires PR:L; victim must view content for UI:R; scope changes to victim browser, but standard stored XSS carries no substantiated availability impact, so A:N.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Contributor Cross Site Scripting (XSS) in TheGem <= 5.11.1 versions.
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.
EUVD-2026-48091
GHSA-cqc8-hg5f-f2hq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB