Skip to main content

TheGem EUVDEUVD-2026-48091

| CVE-2026-65480 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-23 Patchstack GHSA-cqc8-hg5f-f2hq
6.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

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

  1. Access
    Obtain or register Contributor account on target site
  2. Delivery
    Embed XSS payload in TheGem theme content field
  3. Exploit
    Payload stored in WordPress database
  4. Execution
    Administrator or Editor views malicious content
  5. Persist
    JavaScript executes in victim browser
  6. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

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

TheGem n/a ≤5.11.1

Affected Packages

euvd thegem no fix

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

Vendor (Patchstack) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

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

DescriptionCVE.org

Contributor Cross Site Scripting (XSS) in TheGem <= 5.11.1 versions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular commercial WordPress multipurpose theme with broad adoption
Data Quality
6 sources
Confidence: High

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.2%
Patch available No
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.

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