Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in CodexThemes TheGem Theme Elements (for Elementor) allows PHP Local File Inclusion.

This issue affects TheGem Theme Elements (for Elementor): from n/a before 5.12.1.1.
Published: 2026-07-13
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

TheGem Theme Elements plugin for Elementor contains an improper control of filenames used in PHP include/require statements. The vulnerability, described as a PHP Remote File Inclusion, permits an attacker to supply crafted input that causes arbitrary local files to be included and executed on the server. This flaw, identified as CWE‑98, can lead to disclosure of sensitive files or the execution of malicious code. The description explicitly states that local file inclusion is possible, so the exploitation scenario is clear.

Affected Systems

CodexThemes TheGem Theme Elements (for Elementor) plugin for WordPress is affected. All releases up to and including version 5.11.1 are vulnerable. The plugin is used in WordPress sites that incorporate the TheGem Theme Elements interface via Elementor.

Risk and Exploitability

The CVSS score of 7.5 classifies the issue as high severity, while the EPSS score is below 1% indicating a very low current exploitation probability. The vulnerability is not listed in CISA KEV. Based on the description, it is inferred that an attacker might craft a request that triggers the vulnerable include, allowing access to any local file or execution of PHP code if a suitable file exists on the server.

Generated by OpenCVE AI on August 14, 2026 at 11:20 UTC.

Remediation

Vendor Solution

Update the WordPress TheGem Theme Elements (for Elementor) plugin to the latest available version (at least 5.12.1.1).


OpenCVE Recommended Actions

  • Update theGem Theme Elements (for Elementor) to a version newer than 5.11.1 when released.
  • Disable or remove the plugin/theme from all WordPress sites until a patch is released to eliminate the vulnerable functionality.
  • Enforce server‑side validation of filenames passed to include/require, using a whitelist of allowed directories and sanitizing input to prevent arbitrary path traversal.

Generated by OpenCVE AI on August 14, 2026 at 11:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 11:30:00 +0000


Fri, 14 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
Description 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. Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in CodexThemes TheGem Theme Elements (for Elementor) allows PHP Local File Inclusion. This issue affects TheGem Theme Elements (for Elementor): from n/a before 5.12.1.1.
Title WordPress TheGem theme Elements (for Elementor) plugin <= 5.11.1 - Local File Inclusion vulnerability WordPress TheGem Theme Elements (for Elementor) plugin < 5.12.1.1 - Local File Inclusion vulnerability
References

Tue, 21 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 13 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Codexthemes
Codexthemes thegem Theme Elements (for Elementor)
Wordpress
Wordpress wordpress
Vendors & Products Codexthemes
Codexthemes thegem Theme Elements (for Elementor)
Wordpress
Wordpress wordpress

Mon, 13 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
Description 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.
Title WordPress TheGem theme Elements (for Elementor) plugin <= 5.11.1 - Local File Inclusion vulnerability
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Codexthemes Thegem Theme Elements (for Elementor)
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-08-14T10:41:08.147Z

Reserved: 2026-06-25T08:05:08.367Z

Link: CVE-2026-57804

cve-icon Vulnrichment

Updated: 2026-07-13T14:20:25.754Z

cve-icon NVD

Status : Deferred

Published: 2026-07-13T10:16:44.687

Modified: 2026-08-14T11:16:57.820

Link: CVE-2026-57804

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T11:30:17Z

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')