GiveWP <= 4.14.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.4epss 0.3%
exploitation probability
0.3%top 82% of all CVEs
observed exploitation
nono source reports it
The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'give_form' shortcode in all versions up to, and including, 4.14.4. This is due to insufficient input sanitization and output escaping on the continue_button_title and display_style shortcode attributes, which are passed through sanitize_text_field() but not properly escaped when output in HTML data attributes. 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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Affected products
stellarwp · GiveWP – Donation Plugin and Fundraising PlatformReferences
https://plugins.trac.wordpress.org/browser/give/tags/4.14.2/includes/shortcodes.php#L149https://plugins.trac.wordpress.org/browser/give/tags/4.14.2/src/DonationForms/Blocks/DonationFormBlock/Controllers/BlockRenderController.php#L57https://plugins.trac.wordpress.org/browser/give/tags/4.14.2/src/DonationForms/Shortcodes/GiveFormShortcode.php#L32https://plugins.trac.wordpress.org/browser/give/trunk/includes/shortcodes.php#L149https://plugins.trac.wordpress.org/browser/give/trunk/src/DonationForms/Blocks/DonationFormBlock/Controllers/BlockRenderController.php#L57https://plugins.trac.wordpress.org/browser/give/trunk/src/DonationForms/Shortcodes/GiveFormShortcode.php#L32https://plugins.trac.wordpress.org/changeset/3501918/https://www.wordfence.com/threat-intel/vulnerabilities/id/dd26a390-0de5-4699-a790-cac86bf4a057?source=cve