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

Medium 6.4 Published Updated

Authenticated subscribers can inject arbitrary scripts via the plugin, leading to stored XSS execution on victim pages.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-2082?

CVE-2023-2082 is a medium-severity cross-site scripting vulnerability in buymeacoffee Buy Me a Coffee – Button and Widget Plugin, published on 14 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2023-2082?

It affects 1 product.

Products include Buymeacoffee Buy Me a Coffee.

How do I fix CVE-2023-2082?

No fix has been published for CVE-2023-2082 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-2082 being exploited?

There is no known exploitation of CVE-2023-2082 in the wild and no public exploit code.

Sources

Also known as GHSA-f2qm-cj3h-v89v.

Is CVE-2023-2082 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free