CVE-2021-33851 Cross-site scripting in WordPress Customize Login Image Plugin

Medium 5.4 Published Updated

Attackers can execute arbitrary JavaScript in users' browsers via the Custom logo link in the Customize Login Image plugin settings.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-33851?

CVE-2021-33851 is a medium-severity cross-site scripting vulnerability in WordPress Customize Login Image Plugin, published on 9 Mar 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A cross-site scripting (XSS) attack can cause arbitrary code (JavaScript) to run in a user's browser and can use an application as the vehicle for the attack. The XSS payload given in the "Custom logo link" executes whenever the user opens the Settings Page of the "Customize Login Image" Plugin.

Weakness: CWE-79

Which versions are affected by CVE-2021-33851?

It affects 1 product.

Products include Apasionados Customize Login Image.

How do I fix CVE-2021-33851?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-33851 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-wwvr-r64c-3ghh.

Is CVE-2021-33851 in your software?

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

Check your SBOMs for free