# GiveWP <= 4.19.2 - Unauthenticated Reflected Cross-Site Scripting via Donation Confirmation Receipt

- **ID:** WPSEC-2026-3416
- **Plugin:** GiveWP – Donation Plugin and Fundraising Platform (`give`), https://wordpress.org/plugins/give/
- **Affected versions:** from 3.16.0 before 4.19.2.1
- **Fixed in:** 4.19.2.1 (Update to 4.19.2.1 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/give
- **Fix released:** 2026-11-17
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3416/

## Description

The GiveWP plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'receipt-id' parameter on the donation confirmation receipt page in versions 3.16.0 up to, and including, 4.19.2. This is due to the confirmation view URL built from the receipt ID being output without HTML attribute escaping inside a single-quoted iframe src attribute when the give_receipt shortcode is replaced. Single quotes are left in place by sanitize_text_field() and esc_url_raw(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a crafted link.

## References

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

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

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.
