CVE-2025-12126 Overview
CVE-2025-12126 is an Insecure Direct Object Reference (IDOR) vulnerability in The Total Book Project plugin for WordPress. The flaw affects all versions up to and including 1.0. Several plugin functions accept a user-controlled key without proper validation, allowing authenticated users to manipulate resources they do not own. Attackers with Contributor-level access or above can move, delete, or create chapters in books belonging to other users. The vulnerability is tracked under CWE-639: Authorization Bypass Through User-Controlled Key.
Critical Impact
Authenticated contributors can tamper with book content owned by other WordPress users, breaking content integrity and author boundaries on affected sites.
Affected Products
- The Total Book Project plugin for WordPress — all versions through 1.0
- WordPress sites running the plugin with Contributor or higher accounts enabled
- Any multi-author WordPress deployment using the plugin to manage book chapters
Discovery Timeline
- 2025-11-11 - CVE-2025-12126 published to NVD
- 2026-10-07 - Last updated in NVD database
Technical Details for CVE-2025-12126
Vulnerability Analysis
The Total Book Project plugin exposes several actions — such as moving, deleting, and creating chapters — that accept an object identifier supplied by the client. The plugin authenticates the request and confirms the caller holds Contributor-level privileges or above, but it fails to verify that the identifier belongs to a resource the caller owns.
Because the authorization check stops at role verification, any logged-in contributor can substitute another user's book or chapter ID in the request. The server then performs the requested operation on that resource. This is a textbook Insecure Direct Object Reference pattern classified under CWE-639.
The Wordfence vulnerability analysis confirms the issue spans multiple plugin functions. The EPSS probability currently sits in the lower range, consistent with a plugin that has a limited install base but a straightforward exploitation path.
Root Cause
The root cause is missing ownership validation on a user-controlled key. The plugin trusts the submitted chapter or book identifier without comparing it against the authenticated user's owned resources. Role-based access control alone is insufficient; per-object authorization checks are required.
Attack Vector
Exploitation requires an authenticated session with at least Contributor permissions. The attacker observes or guesses the identifier of a target book or chapter owned by another author, then issues the normal plugin request with the substituted ID. No special tooling is required beyond an HTTP client. The code-level fix is visible in the plugin changeset on WordPress.org.
No public proof-of-concept exploit is listed, and the vulnerability is not present in the CISA Known Exploited Vulnerabilities catalog.
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 AttacksDetection Methods for CVE-2025-12126
Indicators of Compromise
- Unexpected chapter creation, deletion, or reordering events in book posts owned by users other than the acting account
- WordPress audit log entries showing Contributor accounts modifying content attributed to Editors or Administrators
- HTTP requests to The Total Book Project plugin endpoints containing object identifiers that do not match the authenticated user's content
Detection Strategies
- Review WordPress activity logs for cross-user modifications to book or chapter objects by Contributor-level accounts
- Correlate plugin AJAX or REST requests with the author_id of the targeted resource to flag ownership mismatches
- Monitor for enumeration patterns where a single account issues requests across sequential chapter or book IDs
Monitoring Recommendations
- Enable a WordPress security plugin or web application firewall that logs authenticated user actions against custom post types used by the plugin
- Forward WordPress and web server logs to a centralized analytics platform and alert on bulk object manipulation by non-privileged roles
- Track creation of new Contributor accounts followed by rapid content modification activity
How to Mitigate CVE-2025-12126
Immediate Actions Required
- Update The Total Book Project plugin to a version newer than 1.0 that includes the fix referenced in the WordPress plugin changeset
- Audit existing book and chapter content for unauthorized modifications made since the plugin was installed
- Review all Contributor-level and above accounts and remove any that are inactive, untrusted, or unknown
Patch Information
A patched release is available through the The Total Book Project plugin page on WordPress.org. The fix adds ownership validation so that chapter and book operations verify the requested object belongs to the authenticated user before executing. Site administrators should apply the update immediately and confirm the installed version is greater than 1.0.
Workarounds
- Deactivate The Total Book Project plugin until the patched version is installed if the plugin is non-essential
- Restrict Contributor-level and above accounts to a vetted set of users and disable open registration for these roles
- Deploy a web application firewall rule that blocks requests to the plugin's chapter and book action endpoints from accounts other than Administrators until the patch is applied
# Verify installed plugin version with WP-CLI
wp plugin get the-total-book-project --field=version
# Update the plugin to the latest version
wp plugin update the-total-book-project
# If immediate patching is not possible, deactivate the plugin
wp plugin deactivate the-total-book-project
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

