CVE-2026-120556: Toocheke Companion <= 2.38 - Missing Authorization to Authenticated (Contributor+) Arbitrary Post Deletion via 'series_post_id' Parameter
The Toocheke Companion plugin for WordPress is vulnerable to Missing Authorization leading to arbitrary post and attachment deletion in versions up to, and including, 2.38. This is due to a missing object-level capability check in the toocheketapasajaxcleanupstart() and toocheketapasajaxcleanupstep() AJAX handlers; the toocheketapascleanupajaxguard() method only verifies the primitive deleteposts capability (held by every Contributor) and never calls currentusercan('deletepost', $postid) or deleteothersposts before passing the attacker-supplied seriespostid to wpdeletepost() and wpdeleteattachment() with force-delete enabled. The required nonce is emitted on the Import: Tapas admin page, which is gated only by editposts, so a Contributor can read it. This makes it possible for authenticated attackers, with Contributor-level access and above, to permanently delete any importer-created series post, every child 'comic' post attached to it, and every Media Library attachment belonging to those posts — regardless of which user originally created them.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated WordPress user with Contributor-level access or higher can exploit it. Contributors can access the Import: Tapas admin page, obtain the required nonce, and invoke the affected AJAX handlers.
What content can an attacker delete?
An attacker can permanently delete any importer-created series post, all child comic posts attached to that series, and Media Library attachments belonging to those posts. The affected handlers force deletion and do not verify that the attacker is allowed to delete the targeted post.
Does the attacker need to own the targeted posts?
No. The vulnerable authorization check only verifies the primitive delete_posts capability and does not check permissions for the specific post identified by series_post_id. Posts and associated content can be deleted regardless of the user who created them.