CVE-2023-6164 MainWP Dashboard <= 4.5.1.2 - Authenticated(Administrator+) CSS Injection

Low 2.2 Published Updated

Administrators can inject arbitrary CSS via the newColor parameter, potentially leading to script execution or security bypasses in the MainWP Dashboard plugin.

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-6164?

CVE-2023-6164 is a low-severity cross-site scripting vulnerability in MainWP Dashboard: Self-hosted WordPress Management for Agencies, published on 22 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The MainWP Dashboard – WordPress Manager for Multiple Websites Maintenance plugin for WordPress is vulnerable to CSS Injection via the ‘newColor’ parameter in all versions up to, and including, 4.5.1.2 due to insufficient input sanitization. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary CSS values into the site tags.

Weakness: CWE-79, CWE-74

Which versions are affected by CVE-2023-6164?

It affects 1 product.

Products include Mainwp Mainwp.

How do I fix CVE-2023-6164?

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

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

Sources

Also known as GHSA-666g-9c82-3mm3.

Is CVE-2023-6164 in your software?

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

Check your SBOMs for free