CVE-2023-2082
Buymeacoffee Buy Me A Coffee vulnerability
The "Buy Me a Coffee – Button and Widget Plugin" plugin for WordPress is vulnerable to Cross-Site Scripting in versions up to, and including, 3.6 due to insufficient sanitization and escaping on the 'text value set via the bmc_post_reception action. This makes it possible for authenticated attackers, with subscriber-level permissions, and above to inject arbitrary web scripts into pages that execute whenever a victim accesses a page with the injected scripts.
Affected products
Buy Me A Coffee. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Buymeacoffee Buy Me A Coffee runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/changeset?old_path=%2Fbuymeacoffee%2Ftags%2F3.6&old=2922493&new · Patch
- www.wordfence.com/threat-intel/vulnerabilities/id/ed9f8948-085b-4ac5-befd-c70085aa23cd?sou · Third Party Advisory
- plugins.trac.wordpress.org/browser/buymeacoffee/trunk/admin/class-buy-me-a-coffee-admin.ph · Exploit
- plugins.trac.wordpress.org/browser/buymeacoffee/trunk/includes/class-buy-me-a-coffee.php?r · Exploit
- nvd.nist.gov/vuln/detail/CVE-2023-2082
- cve.org/CVERecord?id=CVE-2023-2082
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.