CVE-2026-4002
The Petje.af plugin for WordPress is vulnerable to Cross-Site …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/petje-af/tags/2.1.8/includes/class-petje-af-oauth2-prov
- plugins.trac.wordpress.org/browser/petje-af/tags/2.1.8/includes/class-petje-af-oauth2-prov
- plugins.trac.wordpress.org/browser/petje-af/tags/2.1.8/includes/class-petje-af.php#L182
- plugins.trac.wordpress.org/browser/petje-af/trunk/includes/class-petje-af-oauth2-provider.
- plugins.trac.wordpress.org/browser/petje-af/trunk/includes/class-petje-af-oauth2-provider.
- plugins.trac.wordpress.org/browser/petje-af/trunk/includes/class-petje-af.php#L182
- www.wordfence.com/threat-intel/vulnerabilities/id/28a071ac-37ee-4fb9-b8c6-0a782ee673b4?sou
- nvd.nist.gov/vuln/detail/CVE-2026-4002
- cve.org/CVERecord?id=CVE-2026-4002
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.