CVE-2026-57804

WordPress TheGem Theme Elements (for Elementor) plugin < 5.12.1.1 - Local File Inclusion vulnerability

Published Jul 13, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
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
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-98

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

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Aug 14, 2026, 10:41 AM
Reserved
Jun 25, 2026, 8:05 AM
Status
Deferred
Published
Jul 13, 2026, 10:16 AM
Modified
Oct 24, 2026, 10:10 PM