Cryptocurrency Donation Box <= 2.2.13 - Unauthenticated Stored Cross-Site Scripting via data_object Parameter
What fixes it
No source in this snapshot names a fixed version.
Description
The Cryptocurrency Donation Box – Bitcoin & Crypto Donations plugin for WordPress is vulnerable to Stored Cross-Site Scripting via data_object Parameter in all versions up to, and including, 2.2.13 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable by unauthenticated attackers because the cdbbc_payment_verify AJAX action is registered under wp_ajax_nopriv_ and its only authentication gate — a nonce check — is bypassable, as the cdbbc_donation_box nonce is publicly exposed to anonymous visitors via the wallets_data JavaScript object emitted by the [crypto-donation-box] shortcode.
Text from CVE List
Affected versions 1
- Cryptocurrency Donation Box – Bitcoin & Crypto Donationsaffected: all versions through 2.2.13CVE List
References 6
- wordfence.com/threat-intel/vulnerabilities/id/9c3724f3-ebd9-4804-88e0-804fd423af3a?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/cryptocurrency-donation-box/trunk/admin/table/cdbbc-list-table.php#L109Referencevia CVE List
- plugins.trac.wordpress.org/browser/cryptocurrency-donation-box/trunk/includes/cdbbc-payment-verify.php#L57Referencevia CVE List
- plugins.trac.wordpress.org/browser/cryptocurrency-donation-box/trunk/includes/cdbbc-payment-verify.php#L98Referencevia CVE List
- plugins.trac.wordpress.org/browser/cryptocurrency-donation-box/trunk/cryptocurrency-donation-box.php#L83Referencevia CVE List
- plugins.trac.wordpress.org/browser/cryptocurrency-donation-box/trunk/includes/cdbbc-shortcode.php#L75Referencevia CVE List