Skip to main content
Vulnerability Database/CVE-2025-12574

CVE-2025-12574: Listar WordPress Plugin Auth Bypass Flaw

CVE-2025-12574 is an authentication bypass vulnerability in the Listar WordPress Plugin allowing authenticated subscribers to delete arbitrary posts. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-12574 Overview

CVE-2025-12574 affects the Listar – Directory Listing & Classifieds WordPress Plugin. The vulnerability stems from a missing capability check on the /wp-json/listar/v1/place/delete REST API endpoint. All versions up to and including 3.0.0 are affected. Authenticated attackers with Subscriber-level access or above can delete arbitrary posts on the affected site. The flaw is classified under CWE-862: Missing Authorization.

Critical Impact

Any authenticated user, including low-privileged Subscribers, can delete arbitrary posts through the exposed REST API endpoint, causing content loss and site integrity issues.

Affected Products

  • Listar – Directory Listing & Classifieds WordPress Plugin, all versions ≤ 3.0.0
  • WordPress sites exposing the /wp-json/listar/v1/place/delete REST endpoint
  • Directory and classifieds sites relying on Listar for listing management

Discovery Timeline

  • 2025-12-06 - CVE-2025-12574 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-12574

Vulnerability Analysis

The Listar plugin registers a REST API route at /wp-json/listar/v1/place/delete intended to remove place or listing entries. The handler for this route omits a current_user_can() capability check and does not restrict the target post to items the caller owns. Any authenticated session, including a Subscriber, can invoke the endpoint and pass an arbitrary post identifier. The plugin then executes the deletion using WordPress core functions without validating ownership or role. This turns a listing-management feature into a broken access control primitive against every post type stored in the site.

Root Cause

The root cause is a Missing Authorization flaw [CWE-862]. The REST route relies only on authentication rather than a capability check such as delete_post or delete_posts. WordPress considers any logged-in user, including Subscribers, as authenticated, so the endpoint effectively treats the entire user base as authorized for deletion.

Attack Vector

Exploitation requires network access to the target site and a valid WordPress account at Subscriber level or above. Registration is often open on directory and classifieds sites, lowering the barrier further. An attacker authenticates, obtains a REST nonce, and issues a POST request to /wp-json/listar/v1/place/delete supplying the identifier of any post, page, or custom post type. Refer to the Wordfence vulnerability report for technical detail on the affected endpoint.

No verified proof-of-concept code is published for this issue. The vulnerability mechanism is straightforward: an authenticated REST request supplying a post ID that the caller does not own triggers deletion because the handler never verifies capabilities against the requested resource.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2025-12574

Indicators of Compromise

  • Unexpected wp_posts deletions correlated with REST requests to /wp-json/listar/v1/place/delete
  • Access log entries showing POST or DELETE requests from Subscriber accounts to the Listar REST namespace
  • Missing posts, pages, or custom post types with no corresponding admin-user audit trail
  • New or dormant Subscriber accounts issuing REST calls shortly after login

Detection Strategies

  • Enable WordPress REST API request logging and alert on any hit to /wp-json/listar/v1/
  • Compare wp_posts row counts and modification timestamps against known-good baselines
  • Flag deletion activity originating from accounts whose role lacks delete_others_posts
  • Correlate authentication events with subsequent REST deletion calls in the same session

Monitoring Recommendations

  • Forward web server and WordPress audit logs to a centralized SIEM for correlation
  • Alert on REST calls to Listar endpoints from IP addresses associated with self-registered accounts
  • Track post lifecycle events using an audit plugin that records actor, role, and source IP

How to Mitigate CVE-2025-12574

Immediate Actions Required

  • Update the Listar plugin to a version above 3.0.0 once the vendor releases a patched build
  • Disable the plugin if a patched release is not yet available and content deletion risk is unacceptable
  • Audit wp_users for unexpected Subscriber accounts and revoke any that are unnecessary
  • Restore any deleted posts from backup and preserve web logs for forensic review

Patch Information

At the time of publication, no fixed version is listed in the NVD entry for CVE-2025-12574. Monitor the official plugin page and the Wordfence advisory for release notes indicating that a capability check has been added to the /wp-json/listar/v1/place/delete handler.

Workarounds

  • Block external access to /wp-json/listar/v1/place/delete at the web server or WAF layer
  • Disable open user registration or restrict new accounts from receiving the Subscriber role by default
  • Use a WordPress hardening plugin to require higher capabilities on Listar REST routes
  • Deploy a virtual patch rule in the WAF that rejects deletion calls to the Listar namespace from non-administrator sessions
bash
# Example NGINX rule to block the vulnerable endpoint until patched
location ~* /wp-json/listar/v1/place/delete {
    deny all;
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.