# Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) <= 1.8.15.1 - Cross-Site Request Forgery to Square Connection Takeover

- **ID:** WPSEC-2026-3372
- **Plugin:** Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) (`charitable`), https://wordpress.org/plugins/charitable/
- **Affected versions:** from 1.8.7 before 1.8.15.2
- **Fixed in:** 1.8.15.2 (Update to 1.8.15.2 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/charitable
- **Fix released:** 2026-11-17
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3372/

## Description

The Charitable plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.8.15.1. Both Square connection completion handlers lacked state verification, and the OAuth state was generated with the predictable uniqid(). This makes it possible for unauthenticated attackers to trick a logged-in administrator into clicking a link that saves the attacker's Square credentials as the site's own, redirecting payments. Exploitation requires the Square gateway, which is not active by default, to be enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-3372/
- https://plugins.svn.wordpress.org/charitable/tags/1.8.15.2/
- https://wordpress.org/plugins/charitable/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3372/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
