CVE-2026-12697 Overview
CVE-2026-12697 affects the wpForo Forum WordPress plugin in versions before 3.1.2. The plugin fails to verify that an AI chat conversation belongs to the requesting user before deleting its messages. Any authenticated user with a subscriber-level account can permanently delete the stored AI chat message history of any other user on the site.
The flaw is classified as an Insecure Direct Object Reference [CWE-639]. Exploitation requires only low-privileged authentication and no user interaction. The impact is limited to integrity and availability of AI chat history stored by the plugin.
Critical Impact
Subscriber-level users can permanently destroy other users' AI chat conversation history, resulting in irreversible data loss across the forum.
Affected Products
- wpForo Forum WordPress plugin versions prior to 3.1.2
- WordPress sites exposing subscriber registration with wpForo AI chat features enabled
- Multi-user forums relying on wpForo AI chat history for user records
Discovery Timeline
- 2026-07-31 - CVE-2026-12697 published to NVD
- 2026-07-31 - Last updated in NVD database
Technical Details for CVE-2026-12697
Vulnerability Analysis
The wpForo Forum plugin exposes an AI chat feature that stores conversation history per user. When a user requests deletion of chat messages, the plugin accepts a conversation identifier from the request but does not check whether the current user owns that conversation.
The vulnerability falls under Authorization Bypass Through User-Controlled Key [CWE-639]. An attacker supplies an arbitrary conversation identifier and the server executes the delete operation against the referenced records. Ownership checks that would normally bind the conversation identifier to the current session identity are absent from the delete handler.
The attack requires a valid authenticated session with the lowest WordPress role, subscriber. Because many WordPress forums allow open registration, obtaining this privilege is trivial. The deletion is permanent and cannot be reversed by the target user.
Root Cause
The root cause is a missing authorization check in the AI chat message deletion endpoint. The handler trusts the conversation identifier passed by the client and does not compare the record's owner to the WordPress user identifier of the requester. This is a textbook Insecure Direct Object Reference.
Attack Vector
Exploitation proceeds over the network against the WordPress admin-ajax or REST endpoint responsible for AI chat deletion. An authenticated subscriber sends a delete request containing a target conversation identifier belonging to another user. The plugin processes the request and removes the messages from storage. The attacker can iterate identifiers to enumerate and destroy chat history across the user base. See the WPScan Vulnerability Advisory for reference details.
Detection Methods for CVE-2026-12697
Indicators of Compromise
- Unexpected reports from users of missing AI chat history within the wpForo forum
- Bursts of authenticated POST requests to wpForo AI chat delete endpoints from a single subscriber account
- Sequential or enumerated conversation identifiers in request parameters targeting the delete action
- Deletion activity in wpForo AI chat database tables originating from low-privileged user identifiers
Detection Strategies
- Correlate WordPress user roles with AI chat deletion events and flag deletions performed by subscriber accounts against conversations they do not own
- Alert on high-volume delete calls to wpForo AJAX or REST routes within short time windows
- Enable WordPress audit logging plugins to record the acting user identifier for every AI chat record removal
Monitoring Recommendations
- Monitor web server access logs for repeated requests to wpForo AI chat delete endpoints with varying identifier parameters
- Track database write operations against the wpForo AI chat tables and alert on deletions grouped by non-owner user identifiers
- Review new subscriber registrations preceding spikes in chat deletion activity
How to Mitigate CVE-2026-12697
Immediate Actions Required
- Update the wpForo Forum plugin to version 3.1.2 or later on all WordPress instances
- Audit AI chat message tables for unexplained deletions and restore from backup where possible
- Review the active subscriber list and remove accounts that show suspicious deletion activity
Patch Information
The vendor addressed the issue in wpForo Forum version 3.1.2 by adding an ownership check to the AI chat message deletion handler. Site administrators should apply the update through the WordPress plugin manager. Reference the WPScan Vulnerability Advisory for advisory metadata.
Workarounds
- Disable the wpForo AI chat feature until the plugin can be updated to 3.1.2 or later
- Restrict open registration or require administrator approval before granting subscriber accounts
- Take a database backup of the wpForo AI chat tables so history can be restored if unauthorized deletion occurs
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

