Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
AnalysisAI
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.
Technical ContextAI
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.
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-98 – PHP Remote File Inclusion
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-43420