CVE-2023-6594 WordPress Button Plugin MaxButtons <= 9.7.4 - Authenticated (Administrator+) Stored Cross-Site Scripting

Medium 4.4 Published Updated

Authenticated administrators can inject arbitrary scripts via button settings in MaxButtons, affecting multi-site or restricted HTML installations.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-6594?

CVE-2023-6594 is a medium-severity cross-site scripting vulnerability in maxfoundry MaxButtons – Create buttons, published on 9 Jan 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The WordPress Button Plugin MaxButtons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 9.7.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled. Administrators can give button creation privileges to users with lower levels (contributor+) which would allow those lower-privileged users to carry out attacks.

Weakness: CWE-79

Which versions are affected by CVE-2023-6594?

It affects 1 product.

Products include Maxfoundry Maxbuttons.

How do I fix CVE-2023-6594?

No fix has been published for CVE-2023-6594 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-6594 being exploited?

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

Sources

Also known as GHSA-792w-295c-v45g.

Is CVE-2023-6594 in your software?

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

Check your SBOMs for free