CVE-2026-97643 Cross-site scripting in GiveWP – Donation Plugin and Fundraising Platform
Authenticated attackers can inject arbitrary scripts via shortcode attributes in GiveWP, leading to stored XSS execution on victim pages.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-97643?
CVE-2026-97643 is a medium-severity cross-site scripting vulnerability in stellarwp GiveWP – Donation Plugin and Fundraising Platform, published on 10 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `givewp_campaign_grid` shortcode in versions up to, and including, 4.17.0 This is due to insufficient input sanitization and output escaping on user supplied shortcode attributes (`filter_by`, `layout`, `sort_by`, `order_by`) in the CampaignGridShortcode::parseAttributes() function combined with the render template emitting `json_encode($attributes)` inside a single-quoted HTML attribute without esc_attr() — json_encode() does not escape single quotes by default, so a `'` in an attribute value breaks out of the enclosing attribute. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Weakness: CWE-79
Which versions are affected by CVE-2026-97643?
How do I fix CVE-2026-97643?
No fix has been published for CVE-2026-97643 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-97643 being exploited?
There is no known exploitation of CVE-2026-97643 in the wild and no public exploit code.
Sources
Also known as GHSA-rx8r-4hqr-25gw.