CVE-2026-10038 MEDIUM

CVE-2026-10038: Charitable <= 1.8.11.1 - Authenticated (Subscriber+) Insecure Direct Object Reference to Arbitrary Attachment Deletion via 'avatar' Parameter

Vendor Smub
Product Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More
Weakness CWE-639 · IDOR
Published June 5, 2026
Last update June 6, 2026

CVSS base score

4.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

The Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More plugin for WordPress is vulnerable to Insecure Direct Object Reference / Authorization Bypass leading to Arbitrary Attachment Deletion in versions up to, and including, 1.8.11.1 via the profile avatar update flow. This is due to the save_avatar() function in Charitable_Profile_Form calling wp_delete_attachment() on an attachment ID read from the user's 'avatar' meta without validating that the attachment is owned by the user, combined with Charitable_Data_Processor::process_picture() returning the raw posted value when no file is uploaded, allowing the 'avatar' user meta to be poisoned with any attacker-chosen attachment ID. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary attachments from the Media Library by performing a two-request chain (first poisoning the stored avatar meta value with a target attachment ID, then triggering deletion via a normal avatar upload).

Explanation of Vulnerability in Simple Terms

02Summary

The Charitable donation plugin for WordPress contains an authorization flaw affecting versions up to 1.8.11.1. An authenticated user with low privileges can modify donation data or plugin settings they should not have access to. The vulnerability requires a valid WordPress account but no special interaction. Site administrators should update to a version newer than 1.8.11.1 to prevent unauthorized changes to donation records or plugin configuration.

What an attacker can do

03Attacker Capabilities

Modify donation records or plugin settings without proper authorization.

Potential impact on your site

04Site Impact

Donation data or plugin settings could be altered by unauthorized users, affecting fundraising integrity.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege WordPress user account (e.g., subscriber or contributor).

Key dates

06Disclosure timeline

June 5, 2026 CVE published
June 6, 2026 Record updated