Skip to main content

TheGem Elementor Elements CVE-2026-57804

| EUVDEUVD-2026-43420 HIGH
PHP Remote File Inclusion (CWE-98)
2026-07-13 Patchstack
7.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege WordPress account
  2. Delivery
    Reach vulnerable plugin include endpoint
  3. Exploit
    Supply crafted local file path
  4. Execution
    Trigger PHP include of chosen file
  5. Impact
    Disclose sensitive data or execute code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated session with at least low-level privileges (CVSS PR:L) on a WordPress site running CodexThemes TheGem Theme Elements (for Elementor) at version 5.11.1 or earlier, with the vulnerable include/require code path reachable - the attacker must supply a crafted filename/path value to the plugin parameter that feeds a PHP include() statement (CWE-98). Exploitation is limited by the high attack complexity (CVSS AC:H), meaning specific conditions or a particular application state must be satisfied rather than a trivial single request, and by the authentication requirement, so anonymous internet-wide exploitation is not possible from the provided data. No victim user interaction is required (UI:N). The exact vulnerable parameter and feature are not detailed in the provided description and should be confirmed against the Patchstack advisory.

Impact

The signals are mixed and warrant a measured priority. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, score 7.5) indicates network reachability with full high impact, but two metrics temper urgency: AC:H (high attack complexity, implying specific conditions or state must be met) and PR:L (a valid low-privileged authenticated account is required). No EPSS score was supplied, so exploitation probability cannot be quantified from this data. The vulnerability is not listed in CISA KEV and no POC was provided, so this is not confirmed active exploitation. No SSVC decision data was provided. Net: a genuinely high-impact LFI, but the authentication requirement plus high complexity make it a moderate rather than emergency priority for most deployments - patch promptly, but it is not mass-exploitable unauthenticated. One tension to verify: the tags emphasize 'Information Disclosure' while the CVSS asserts I:H and A:H, broader than pure disclosure - confirm the achievable impact (RCE vs. read-only) against the vendor advisory.

Exploit ScenarioDerived

An attacker holding or self-registering a low-privileged authenticated account on a WordPress site running TheGem Theme Elements (for Elementor) <= 5.11.1 sends a crafted request to a plugin endpoint, supplying a manipulated filename/path parameter that the plugin passes into a PHP include statement. Because the input is not properly constrained, the server includes a local file of the attacker's choosing, disclosing sensitive contents (e.g., configuration or credential material) and, where a controllable local PHP file can be included, executing code in the site's context. The high attack complexity (AC:H) means specific preconditions may be needed, and no public POC was provided at the time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 13, 2026

Local File Inclusion in the CodexThemes TheGem Theme Elements (for Elementor) WordPress plugin (versions up to and including 5.11.1) lets an authenticated low-privileged attacker coerce the application into including arbitrary local PHP files, exposing sensitive files and potentially executing attacker-influenced code within the site context. Classified as CWE-98 (PHP Remote/Local File Inclusion) and reported by Patchstack, the flaw carries a CVSS 3.1 base score of 7.5 with high impact across confidentiality, integrity, and availability. There is no public exploit identified at time of analysis and no active exploitation on record.

RemediationAI

No vendor-released patch version was identified in the provided data, so update to the latest available release of TheGem Theme Elements (for Elementor) once CodexThemes publishes a version above 5.11.1, and monitor the Patchstack advisory (https://patchstack.com/database/Wordpress/Plugin/thegem-elements-elementor/vulnerability/wordpress-thegem-theme-elements-for-elementor-plugin-5-11-1-local-file-inclusion-vulnerability) for the fixed build. As compensating controls while unpatched, apply a WAF or virtual patch (Patchstack offers one) to block file-inclusion and path-traversal patterns targeting the plugin's endpoints; restrict and audit low-privilege accounts since exploitation requires an authenticated session, removing unnecessary contributor/author-level users and disabling open registration; harden PHP by setting open_basedir and disabling allow_url_include/allow_url_fopen to constrain what any include() can reach (trade-off: may break plugins that rely on remote includes or write outside the web root); and enforce least-privilege filesystem permissions on wp-config.php and other sensitive files. WAF rules and PHP hardening reduce but do not eliminate risk and can cause false positives, so test in staging first.

Affected VersionsENISA

TheGem Theme Elements (for Elementor) 0 ≤5.11.1

Affected Packages

euvd thegem_theme_elements_for_elementor 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 Theme Elements (for Elementor) is an add-on plugin that extends the Elementor page builder with the TheGem theme's widgets and elements on WordPress/PHP sites. The root cause is CWE-98, Improper Control of Filename for Include/Require Statement, where a value influencing a PHP include()/require() path is not adequately sanitized or restricted to an allowlist. In practice a user-controlled parameter can traverse or select a local file path that the PHP engine then interprets, enabling Local File Inclusion. The affected component per the CPE cpe:2.3:a:codexthemes:thegem_theme_elements_(for_elementor):*:*:*:*:*:*:*:* is the plugin itself; the tags PHP, LFI, and Information Disclosure confirm the disclosure-oriented nature of the flaw, though inclusion of a controllable local PHP file can escalate to code execution within the WordPress runtime.

Know when PHP 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 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Network-reachable but requires a low-privileged authenticated account (PR:L) and non-trivial preconditions (AC:H); local inclusion of PHP yields full C/I/A impact within the site.

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

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in CodexThemes TheGem Theme Elements (for Elementor) thegem-elements-elementor allows PHP Local File Inclusion.This issue affects TheGem Theme Elements (for Elementor): from n/a through <= 5.11.1.

Executive ViewAI

Why It Matters

The CodexThemes TheGem Theme Elements WordPress plugin (versions ≤5.11.1) contains a local file inclusion vulnerability (CVSS 7.5) enabling authenticated users to read sensitive system files and execute arbitrary code on affected sites. Organizations using this plugin face immediate risk of data exposure and website compromise, with impact proportional to the number of user accounts granted access. Immediate action is required to restrict access and monitor for exploitation while awaiting vendor patch.

Business Impact: High
Compensating Controls

Restrict plugin functionality to trusted administrators only and audit all current user account access on affected sites. Implement file integrity monitoring on wp-config.php, wp-settings.php, and other sensitive application files to detect unauthorized file reads. Deploy WAF rules targeting PHP file inclusion and path traversal attack patterns. Enable comprehensive access and error logging for the Elementor plugin and theme; alert on repeated failed includes or suspicious PHP file access patterns.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Medium
commercial WordPress theme add-on, common but not ubiquitous
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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

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

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