CVE-2021-42546 Reflected XSS in search functionality of WP Cloud Plugins - Use-Your-Drive

Medium 4.7 Published Updated

Unauthenticated attackers can execute arbitrary scripts via reflected XSS in the search feature of the Use-Your-Drive WordPress plugin.

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

What is CVE-2021-42546?

CVE-2021-42546 is a medium-severity cross-site scripting vulnerability in WP Cloud Plugins Use-Your-Drive, published on 13 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Insufficient Input Validation in the search functionality of Wordpress plugin Use-Your-Drive prior to 1.18.3 allows unauthenticated user to craft a reflected Cross-Site Scripting attack.

Weakness: CWE-79

Which versions are affected by CVE-2021-42546?

It affects 1 product.

Products include Wpcloudplugins Use-Your-Drive.

How do I fix CVE-2021-42546?

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

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

Sources

Also known as GHSA-pm9p-228m-rc94.

Is CVE-2021-42546 in your software?

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

Check your SBOMs for free