CVE-2026-4002 json
Petje.af <= 2.1.8 - Cross-Site Request Forgery to Account Deletion via 'petjeaf_disconnect' AJAX Action
published 2026-04-15 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-22867
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected products
- petjeaf Petje.af
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/28a071ac-37ee-4fb9-b8c6-0a782ee673b4?source=cve
- plugins.trac.wordpress.org /browser/petje-af/trunk/includes/class-petje-af-oauth2-provider.php#L346
- plugins.trac.wordpress.org /browser/petje-af/tags/2.1.8/includes/class-petje-af-oauth2-provider.php#L346
- plugins.trac.wordpress.org /browser/petje-af/trunk/includes/class-petje-af-oauth2-provider.php#L326
- plugins.trac.wordpress.org /browser/petje-af/tags/2.1.8/includes/class-petje-af-oauth2-provider.php#L326
- plugins.trac.wordpress.org /browser/petje-af/trunk/includes/class-petje-af.php#L182
- plugins.trac.wordpress.org /browser/petje-af/tags/2.1.8/includes/class-petje-af.php#L182
Sources
- CVE List CVE-2026-4002
- NVD CVE-2026-4002
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.