Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| stellarwp / GiveWP – Donation Plugin and Fundraising Platform | affected 0 through 4.14.4 |
CWE
CWE-79
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/dd26a390-0de5-4699-a790-cac86bf4a057?source=cve
- https://plugins.trac.wordpress.org/browser/give/trunk/src/DonationForms/Blocks/DonationFormBlock/Controllers/BlockRenderController.php#L57
- https://plugins.trac.wordpress.org/browser/give/tags/4.14.2/src/DonationForms/Blocks/DonationFormBlock/Controllers/BlockRenderController.php#L57
- https://plugins.trac.wordpress.org/browser/give/trunk/includes/shortcodes.php#L149
- https://plugins.trac.wordpress.org/browser/give/tags/4.14.2/includes/shortcodes.php#L149
- https://plugins.trac.wordpress.org/browser/give/trunk/src/DonationForms/Shortcodes/GiveFormShortcode.php#L32
- https://plugins.trac.wordpress.org/browser/give/tags/4.14.2/src/DonationForms/Shortcodes/GiveFormShortcode.php#L32
- https://plugins.trac.wordpress.org/changeset/3501918/
ADP enrichment
No English description supplied.
No references supplied.