What the vulnerability does
01Description
The Petje.af plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to and including 2.1.8. This is due to missing nonce validation in the ajax_revoke_token() function which handles the 'petjeaf_disconnect' AJAX action. The function performs destructive operations including revoking OAuth2 tokens, deleting user meta, and deleting WordPress user accounts (for users with the 'petjeaf_member' role) without verifying the request originated from a legitimate source. This makes it possible for unauthenticated attackers to force authenticated users to delete their Petje.af member user accounts via a forged request granted the victim clicks on a link or visits a malicious site.
Explanation of Vulnerability in Simple Terms
02Summary
Petje.af versions 2.1.8 and earlier are vulnerable to cross-site request forgery (CSRF) attacks. An attacker can craft a malicious webpage that, when visited by a logged-in user, performs unwanted actions on their behalf. The vulnerability requires user interaction—the victim must visit the attacker's page while authenticated to Petje.af. This can lead to unauthorized modifications of site data or settings.
What an attacker can do
03Attacker Capabilities
Perform unwanted actions on a user's Petje.af account by tricking them into visiting a malicious webpage.
Potential impact on your site
04Site Impact
Users' accounts and site data can be modified without their knowledge if they visit untrusted links while logged in.
Conditions required to exploit
05Prerequisites
User must be logged into Petje.af and visit an attacker-controlled webpage while authenticated.
Key dates
06Disclosure timeline
April 15, 2026
CVE published
April 15, 2026
Record updated