Buy Me a Coffee – Button and Widget Plugin Security & Risk Analysis

wordpress.org/plugins/buymeacoffee

A free, fast, and friendly way to accept donations and memberships (recurring payments) from your visitors.

6K active installs v4.4.2 PHP 5.2+ WP 3.0.1+ Updated Oct 15, 2025
apple-paybuy-me-a-coffeedonate-plugindonationmembers
97
A · Safe
CVEs total4
Unpatched0
Last CVEJul 13, 2023
Safety Verdict

Is Buy Me a Coffee – Button and Widget Plugin Safe to Use in 2026?

Generally Safe

Score 97/100

Buy Me a Coffee – Button and Widget Plugin has a strong security track record. Known vulnerabilities have been patched promptly.

4 known CVEsLast CVE: Jul 13, 2023Updated 5mo ago
Risk Assessment

The static analysis of the 'buymeacoffee' plugin version 4.4.2 reveals a generally positive security posture with no identified direct entry points for attack in the form of unprotected AJAX handlers, REST API routes, shortcodes, or cron events. The absence of dangerous functions and file operations further contributes to a reduced attack surface. However, the code signals do raise some concerns. While the majority of SQL queries utilize prepared statements, a significant portion of output is not properly escaped, increasing the risk of Cross-Site Scripting (XSS) vulnerabilities. The presence of 3 nonce checks and 3 capability checks is encouraging, but their placement and effectiveness would require a deeper code review.

The plugin's vulnerability history is a significant area of concern. With a total of 4 known CVEs, including 2 high and 2 medium severity vulnerabilities, and a last vulnerability recorded in July 2023, it indicates a pattern of past security weaknesses. The common vulnerability types like XSS, CSRF, and Missing Authorization directly align with the potential risks identified in the static analysis, particularly the unescaped output. While there are no currently unpatched vulnerabilities, the history suggests a need for vigilant monitoring and prompt patching of future issues. In conclusion, while the current version of 'buymeacoffee' shows improvements in its attack surface, the historical vulnerability data and the concerning rate of unescaped output necessitate a cautious approach to its deployment.

Key Concerns

  • Significant unescaped output detected
  • History of high severity vulnerabilities
  • History of medium severity vulnerabilities
Vulnerabilities
4

Buy Me a Coffee – Button and Widget Plugin Security Vulnerabilities

CVEs by Year

4 CVEs in 2023
2023
Patched Has unpatched

Severity Breakdown

High
2
Medium
2

4 total CVEs

CVE-2023-2082medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Buy Me a Coffee – Button and Widget Plugin <= 3.6 - Authenticated (Subscriber+) Stored Cross-Site Scripting

Jul 13, 2023 Patched in 3.7 (194d)
CVE-2023-2079high · 7.1Cross-Site Request Forgery (CSRF)

Buy Me a Coffee – Button and Widget Plugin <= 3.7 - Cross-Site Request Forgery

Jul 10, 2023 Patched in 3.8 (197d)
CVE-2023-2078high · 7.3Missing Authorization

Buy Me a Coffee – Button and Widget Plugin <= 3.7 - Missing Authorization

Jul 10, 2023 Patched in 3.8 (197d)
CVE-2023-2578medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Buy Me a Coffee – Button and Widget Plugin <= 3.6 - Authenticated (Administrator+) Stored Cross-Site Scripting

Jun 19, 2023 Patched in 3.7 (218d)
Code Analysis
Analyzed Mar 16, 2026

Buy Me a Coffee – Button and Widget Plugin Code Analysis

Dangerous Functions
0
Raw SQL Queries
3
5 prepared
Unescaped Output
23
14 escaped
Nonce Checks
3
Capability Checks
3
File Operations
0
External Requests
1
Bundled Libraries
0

SQL Query Safety

63% prepared8 total queries

Output Escaping

38% escaped37 total outputs
Attack Surface

Buy Me a Coffee – Button and Widget Plugin Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
actionwp_headadmin\class-buy-me-a-coffee-admin.php:59
actionplugins_loadedincludes\class-buy-me-a-coffee.php:152
actionadmin_enqueue_scriptsincludes\class-buy-me-a-coffee.php:167
actionadmin_enqueue_scriptsincludes\class-buy-me-a-coffee.php:168
actionadmin_post_bmc_post_receptionincludes\class-buy-me-a-coffee.php:170
actionadmin_post_bmc_disconnectincludes\class-buy-me-a-coffee.php:172
actionadmin_post_bmc_name_postincludes\class-buy-me-a-coffee.php:174
actionadmin_post_bmc_widget_postincludes\class-buy-me-a-coffee.php:176
actionadmin_menuincludes\class-buy-me-a-coffee.php:179
actionwidgets_initincludes\class-buy-me-a-coffee.php:181
actionactivated_pluginincludes\class-buy-me-a-coffee.php:183
actionwp_enqueue_scriptsincludes\class-buy-me-a-coffee.php:198
actionwp_enqueue_scriptsincludes\class-buy-me-a-coffee.php:199
Maintenance & Trust

Buy Me a Coffee – Button and Widget Plugin Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 15, 2025
PHP min version5.2
Downloads153K

Community Trust

Rating76/100
Number of ratings16
Active installs6K
Developer Profile

Buy Me a Coffee – Button and Widget Plugin Developer Profile

Buy Me a Coffee

1 plugin · 6K total installs

77
trust score
Avg Security Score
97/100
Avg Patch Time
202 days
View full developer profile
Detection Fingerprints

How We Detect Buy Me a Coffee – Button and Widget Plugin

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/buymeacoffee/css/buy-me-a-coffee-admin.css/wp-content/plugins/buymeacoffee/js/buy-me-a-coffee-admin.js
Version Parameters
buymeacoffee?ver=buy-me-a-coffee-admin.css?ver=buy-me-a-coffee-admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
bmc-widget-button-wrapper
Data Attributes
data-bmc-widget-id
JS Globals
bmc_plugin_databmc_plugin_ajax_object
Shortcode Output
[buy-me-a-coffee]
FAQ

Frequently Asked Questions about Buy Me a Coffee – Button and Widget Plugin