GiveWP – Donation Plugin and Fundraising Platform <= 4.20.0 - Unauthenticated Insecure Direct Object Reference to Arbitrary Attachment Exposure and Limited Attachment Deletion via Donor Dashboard Avatar
- ID
- WPSEC-2026-4566
- Plugin
- GiveWP – Donation Plugin and Fundraising Platform (give)
- Affected
- from 2.10.0 before 4.20.0.1
- Remediation
- Update to 4.20.0.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weakness
- CWE-639
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-03
- Attack surface
- GiveWP – Donation Plugin and Fundraising Platform on WPSec AttackSurface
- Fix released
- Published
Description
The GiveWP plugin for WordPress is vulnerable to Insecure Direct Object Reference via the donor dashboard avatar (the avatarId profile field and the avatar upload route) in versions 2.10.0 up to, and including, 4.20.0. This is due to two flaws: the attachment ownership check in UpdateDonorAvatar ran only when the donor already had an avatar, and avatarBelongsToCurrentUser() checked ownership only by comparing an attachment's post_author with the current user ID, which is 0 both for donors using an email access link and for attachments that have no author. This makes it possible for unauthenticated attackers who hold a donor record and use the donor dashboard through an email access link, without a WordPress account, to set any attachment ID as their avatar and read its file URL. This includes media attached to private or draft content. When they later upload a new avatar, they can also permanently delete any stored attachment that has no author, such as avatars other donors uploaded through the email access dashboard.
References
- https://wpsec.com/vuln/WPSEC-2026-4566/
- https://plugins.svn.wordpress.org/give/tags/4.20.0.1/
- https://wordpress.org/plugins/give/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS