Donations via PayPal Security & Risk Analysis

wordpress.org/plugins/paypal-donations

Easy, simple setup to add a PayPal Donation button as a Widget or with a shortcode.

20K active installs v1.9.11 PHP + WP 5.5+ Updated Dec 2, 2025
donationdonationspaypalshortcodewidget
100
A · Safe
CVEs total1
Unpatched0
Last CVENov 4, 2022
Safety Verdict

Is Donations via PayPal Safe to Use in 2026?

Generally Safe

Score 100/100

Donations via PayPal has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Nov 4, 2022Updated 4mo ago
Risk Assessment

The paypal-donations plugin v1.9.11 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices regarding SQL queries, exclusively using prepared statements, and its static analysis shows no critical or high severity taint flows. The limited attack surface, with only one shortcode and no unprotected entry points, is also encouraging. However, a significant concern is the low percentage of properly escaped output (28%), which suggests a high likelihood of Cross-Site Scripting (XSS) vulnerabilities. The absence of nonce checks and capability checks, particularly for the shortcode which represents the sole entry point, further exacerbates this risk, as it implies any authenticated user could potentially trigger unintended actions or inject malicious scripts.

The plugin's vulnerability history reveals a past medium-severity XSS vulnerability, which aligns with the output escaping concerns identified in the static analysis. While there are no currently unpatched CVEs, the recurring nature of XSS vulnerabilities and the lack of robust input validation (nonces and capability checks) on its primary entry point indicate an ongoing risk. The plugin appears to rely on external sanitization or WordPress's default protections for its output, which is insufficient for robust security. The presence of file operations and external HTTP requests, while not flagged as problematic in this analysis, warrants attention in a broader security review due to their potential for exploitation if not handled securely.

Key Concerns

  • Low percentage of properly escaped output
  • No nonce checks on entry points
  • No capability checks on entry points
  • Past medium XSS vulnerability
Vulnerabilities
1

Donations via PayPal Security Vulnerabilities

CVEs by Year

1 CVE in 2022
2022
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2022-3822medium · 5.5Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Donations via PayPal <= 1.9.8 - Authenticated (Administrator+) Stored Cross-Site Scripting

Nov 4, 2022 Patched in 1.9.9 (445d)
Code Analysis
Analyzed Mar 16, 2026

Donations via PayPal Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
69
27 escaped
Nonce Checks
0
Capability Checks
0
File Operations
1
External Requests
1
Bundled Libraries
0

Output Escaping

28% escaped96 total outputs
Attack Surface

Donations via PayPal Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[paypal-donation] paypal-donations.php:146
WordPress Hooks 12
actioninitpaypal-donations.php:133
filterwidget_textpaypal-donations.php:145
actionwp_headpaypal-donations.php:147
actionwidgets_initpaypal-donations.php:148
actionadmin_noticespaypal-donations.php:298
actionadmin_noticespaypal-donations.php:305
actionplugins_loadedpaypal-donations.php:353
filterplugin_action_linkspaypal-donations.php:363
actioninitpaypal_utility.php:3
actionadmin_menusrc\PayPalDonations\Admin.php:24
actionadmin_initsrc\PayPalDonations\Admin.php:25
actionadmin_enqueue_scriptssrc\PayPalDonations\Admin.php:26
Maintenance & Trust

Donations via PayPal Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 2, 2025
PHP min version
Downloads980K

Community Trust

Rating94/100
Number of ratings27
Active installs20K
Developer Profile

Donations via PayPal Developer Profile

mra13

15 plugins · 210K total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
629 days
View full developer profile
Detection Fingerprints

How We Detect Donations via PayPal

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/paypal-donations/js/donate.js/wp-content/plugins/paypal-donations/css/donate.css
Script Paths
/wp-content/plugins/paypal-donations/js/donate.js
Version Parameters
paypal-donations/css/donate.css?ver=paypal-donations/js/donate.js?ver=

HTML / DOM Fingerprints

CSS Classes
paypal-donations
JS Globals
PayPalDonations
Shortcode Output
[paypal-donation]
FAQ

Frequently Asked Questions about Donations via PayPal