CSRF in Petjeaf Petje.af
CVE-2026-4002
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (8.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 8th percentile — 8.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Petjeaf Petje.af — versions 0
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/28a071ac-37ee-4fb9-b8c6-0a782…
- plugins.trac.wordpress.org/browser/petje-af/trunk/includes/class-petje-af-oauth…
- plugins.trac.wordpress.org/browser/petje-af/tags/2.1.8/includes/class-petje-af-…
- plugins.trac.wordpress.org/browser/petje-af/trunk/includes/class-petje-af-oauth…
- plugins.trac.wordpress.org/browser/petje-af/tags/2.1.8/includes/class-petje-af-…
- plugins.trac.wordpress.org/browser/petje-af/trunk/includes/class-petje-af.php
- plugins.trac.wordpress.org/browser/petje-af/tags/2.1.8/includes/class-petje-af…
Frequently asked questions
- What is CVE-2026-4002?
- CVE-2026-4002 is a medium-severity vulnerability in Petjeaf Petje.af, classified under Cross-Site Request Forgery (CSRF). CVSS score: 4.3/10. Published 2026-04-15.
- How severe is CVE-2026-4002?
- Medium severity. CVSS v3 base score is 4.3 out of 10.