What the vulnerability does
01Description
The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'block_id' (and other) shortcode attributes of the 'givewp_campaign_comments' shortcode in versions up to, and including, 4.16.0. This is due to insufficient input sanitization and output escaping on user supplied attributes in CampaignCommentsShortcode::parseAttributes() and BlockRenderController::render(), where the blockId value is interpolated directly into a single-quoted HTML attribute without esc_attr(). This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
GiveWP versions up to 4.16.0 contain a cross-site scripting vulnerability that allows authenticated users to inject malicious scripts affecting other users across the site. An attacker with low-level access can craft input that executes in victims' browsers, potentially stealing session data or performing actions on their behalf. The vulnerability has site-wide scope due to how the affected component processes user input.
What an attacker can do
03Attacker Capabilities
Inject JavaScript that runs in other users' browsers and steals their session data or performs actions as them.
Potential impact on your site
04Site Impact
Donors and staff accounts can be compromised; attackers can modify donation records, access sensitive data, or impersonate users.
Conditions required to exploit
05Prerequisites
Attacker must have a low-level user account (e.g., donor, subscriber) on the site; no user interaction required from victims.
Key dates
06Disclosure timeline
July 1, 2026
CVE published
July 1, 2026
Record updated