# GiveWP – Donation Plugin and Fundraising Platform <= 4.19.2.2 - Unauthenticated Arbitrary Shortcode Execution via 'give_comment' Parameter

- **ID:** WPSEC-2026-4003
- **Plugin:** GiveWP – Donation Plugin and Fundraising Platform (`give`), https://wordpress.org/plugins/give/
- **Affected versions:** all versions before 4.20.0
- **Fixed in:** 4.20.0 (Update to 4.20.0 or later.)
- **Severity:** High 7.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/give
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4003/

## Description

The GiveWP plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via the 'give_comment' parameter in all versions up to, and including, 4.19.2.2, due to the plugin echoing the submitted comment back into the legacy donation form's comment field without encoding square brackets. When the form is rendered through a block, the_content runs do_shortcode on the block output afterwards. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes on sites where a legacy donation form with the donor comment field enabled is embedded as a block.

## References

- https://wpsec.com/vuln/WPSEC-2026-4003/
- https://plugins.svn.wordpress.org/give/tags/4.20.0/
- https://wordpress.org/plugins/give/

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

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.
