
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-5510 is a Stored Cross-Site Scripting (XSS) vulnerability in the GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress. It affects all versions up to and including 4.14.4, and is caused by insufficient input sanitization and output escaping on the continue_button_title and display_style attributes of the give_form shortcode. Authenticated attackers with Contributor-level access or above can inject arbitrary web scripts into pages that execute when any user visits the affected page. It carries a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation – Cross-site Scripting). The vulnerable shortcode attributes continue_button_title and display_style are passed through WordPress's sanitize_text_field() function, which strips HTML tags but does not perform HTML attribute encoding. When these values are subsequently rendered into HTML data attributes without proper escaping, an attacker can break out of the attribute context and inject executable JavaScript. Exploitation requires only Contributor-level WordPress authentication and no user interaction beyond a victim visiting the injected page (GitHub Advisory, Wordfence). The vulnerable code paths are located in includes/shortcodes.php and src/DonationForms/Shortcodes/GiveFormShortcode.php (WordPress Trac).
Successful exploitation allows an authenticated contributor to persistently inject malicious scripts into WordPress pages served to all site visitors. Consequences include session cookie theft, credential harvesting, unauthorized page content modification, and redirection of users to malicious external sites. While availability is not directly impacted, the confidentiality and integrity risks extend to any user who visits an injected page, including administrators whose elevated session tokens could be stolen to enable full site takeover (GitHub Advisory, Wordfence).
As of the disclosure date (August 28, 2026), there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation. The EPSS score is 0.0, indicating a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum Contributor-level WordPress authentication, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence, GitHub Advisory).
give_form shortcode.continue_button_title or display_style attribute, e.g., [give_form id="1" continue_button_title='x" onmouseover="alert(document.cookie)' display_style='modal']. Because sanitize_text_field() does not encode HTML attribute metacharacters, the payload survives sanitization.give_form shortcodes with unusual attribute values including JavaScript event handlers (e.g., onmouseover, onerror, onfocus) or <script> fragments; audit log entries showing Contributor-level users creating or editing pages with give_form shortcodes.wp_posts table) containing encoded or obfuscated JavaScript within give_form shortcode attributes.give_form shortcodes.Update the GiveWP plugin to a version newer than 4.14.4, which includes the fix applied in changeset 3501918 (WordPress Trac). As interim mitigations: restrict Contributor-level role assignment to only trusted users; consider disabling the give_form shortcode if it is not actively required; and deploy Web Application Firewall (WAF) rules to detect and block common XSS payloads in shortcode attributes. Regularly audit WordPress user roles and permissions to minimize the attack surface (Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."