CVE-2026-10038: CWE-639 Authorization Bypass Through User-Controlled Key in smub Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More
CVE-2026-10038 is an authorization bypass vulnerability in the Charitable – Donation Plugin for WordPress (up to version 1. 8. 11. 1). It allows authenticated users with Subscriber-level access or higher to delete arbitrary attachments from the WordPress Media Library. This occurs because the plugin's save_avatar() function deletes attachments based on a user meta value 'avatar' without verifying ownership, and the process_picture() function can be manipulated to set this meta to any attachment ID. The vulnerability requires a two-step attack: first poisoning the avatar meta with a target attachment ID, then triggering deletion via an avatar upload. The CVSS score is 4. 3, indicating medium severity. No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
The Charitable – Donation Plugin for WordPress suffers from an Insecure Direct Object Reference (IDOR) vulnerability (CWE-639) that leads to authorization bypass. The save_avatar() function calls wp_delete_attachment() on an attachment ID taken from the user's 'avatar' meta without verifying that the attachment belongs to the user. The Charitable_Data_Processor::process_picture() function returns the raw posted value when no file is uploaded, allowing an attacker to poison the 'avatar' user meta with an arbitrary attachment ID. Authenticated users with Subscriber-level privileges or higher can exploit this by first setting the 'avatar' meta to a target attachment ID and then uploading an avatar to trigger deletion of that attachment. This vulnerability affects versions up to and including 1.8.11.1. No patch or official remediation has been published as of the data provided.
Potential Impact
An attacker with authenticated access at Subscriber level or above can delete arbitrary media attachments from the WordPress Media Library. This could result in loss of media content, potentially disrupting website functionality or content availability. The vulnerability does not impact confidentiality or availability of the system beyond the deletion of attachments, and does not allow privilege escalation or code execution. The CVSS score of 4.3 reflects a medium severity impact focused on integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting user roles that can upload avatars or modify user meta, or disable the avatar upload feature if feasible. Monitoring for unusual deletion activity may help detect exploitation attempts. Avoid granting Subscriber or higher privileges to untrusted users. Follow vendor channels for updates and apply patches promptly once available.
CVE-2026-10038: CWE-639 Authorization Bypass Through User-Controlled Key in smub Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More
Description
CVE-2026-10038 is an authorization bypass vulnerability in the Charitable – Donation Plugin for WordPress (up to version 1. 8. 11. 1). It allows authenticated users with Subscriber-level access or higher to delete arbitrary attachments from the WordPress Media Library. This occurs because the plugin's save_avatar() function deletes attachments based on a user meta value 'avatar' without verifying ownership, and the process_picture() function can be manipulated to set this meta to any attachment ID. The vulnerability requires a two-step attack: first poisoning the avatar meta with a target attachment ID, then triggering deletion via an avatar upload. The CVSS score is 4. 3, indicating medium severity. No official patch or remediation guidance is currently available.
CVSS v3.1
Score 4.3medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Charitable – Donation Plugin for WordPress suffers from an Insecure Direct Object Reference (IDOR) vulnerability (CWE-639) that leads to authorization bypass. The save_avatar() function calls wp_delete_attachment() on an attachment ID taken from the user's 'avatar' meta without verifying that the attachment belongs to the user. The Charitable_Data_Processor::process_picture() function returns the raw posted value when no file is uploaded, allowing an attacker to poison the 'avatar' user meta with an arbitrary attachment ID. Authenticated users with Subscriber-level privileges or higher can exploit this by first setting the 'avatar' meta to a target attachment ID and then uploading an avatar to trigger deletion of that attachment. This vulnerability affects versions up to and including 1.8.11.1. No patch or official remediation has been published as of the data provided.
Potential Impact
An attacker with authenticated access at Subscriber level or above can delete arbitrary media attachments from the WordPress Media Library. This could result in loss of media content, potentially disrupting website functionality or content availability. The vulnerability does not impact confidentiality or availability of the system beyond the deletion of attachments, and does not allow privilege escalation or code execution. The CVSS score of 4.3 reflects a medium severity impact focused on integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting user roles that can upload avatars or modify user meta, or disable the avatar upload feature if feasible. Monitoring for unusual deletion activity may help detect exploitation attempts. Avoid granting Subscriber or higher privileges to untrusted users. Follow vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-28T19:32:46.255Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a236054e29bf47b50d6f274
Added to database: 6/5/2026, 11:48:36 PM
Last enriched: 6/6/2026, 12:04:21 AM
Last updated: 6/6/2026, 6:28:00 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.