Petje.af <= 2.1.8 - Cross-Site Request Forgery to Account Deletion via 'petjeaf_disconnect' AJAX Action

Summary

CVECVE-2026-4002
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-15 09:16:32 UTC
Updated2026-04-22 20:23:16 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 4.3 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

EPSS: 0.000160000 probability, percentile 0.035400000 (date 2026-04-22)

Problem Types: CWE-352 | CWE-352 CWE-352 Cross-Site Request Forgery (CSRF)


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
3.1CNADECLARED4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Petjeaf Petje.af affected 2.1.8 semver Not specified

References

ReferenceSourceLinkTags
plugins.trac.wordpress.org/browser/petje-af/trunk/includes/class-petje-af.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/petje-af/trunk/includes/class-petje-af-oauth2-provide... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/petje-af/tags/2.1.8/includes/class-petje-af.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/petje-af/tags/2.1.8/includes/class-petje-af-oauth2-pr... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/petje-af/tags/2.1.8/includes/class-petje-af-oauth2-pr... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/petje-af/trunk/includes/class-petje-af-oauth2-provide... [email protected] plugins.trac.wordpress.org
www.wordfence.com/threat-intel/vulnerabilities/id/28a071ac-37ee-4fb9-b8c6-0a782... [email protected] www.wordfence.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Youcef Hamdani (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-04-14T19:46:31.000ZDisclosed

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report