# GiveWP <= 4.19.0 - Authenticated (GiveWP Worker+) Stored Cross-Site Scripting via Form Template Primary Color

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

## Description

The GiveWP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Sequoia and Classic form template 'primary_color' setting in all versions up to, and including, 4.19.0, due to insufficient input sanitization and output escaping. The value was saved with sanitize_text_field(), which keeps quotes, and printed raw into an inline style attribute in the form loading view. This makes it possible for authenticated attackers with the GiveWP Worker role or higher to inject arbitrary web scripts that run whenever a user loads the donation form.

## References

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

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

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.
