CVE-2022-1009 Smush < 3.9.9 - Admin+ Reflected Cross-Site Scripting

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in an admin's browser by tricking them into uploading a malicious configuration file in the Smush 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-2022-1009?

CVE-2022-1009 is a medium-severity cross-site scripting vulnerability in Unknown Smush – Lazy Load Images, Optimize & Compress Images, published on 30 May 2022. 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

The Smush WordPress plugin before 3.9.9 does not sanitise and escape a configuration parameter before outputting it back in an admin page when uploading a malicious preset configuration, leading to a Reflected Cross-Site Scripting. For the attack to be successful, an attacker would need an admin to upload a malicious configuration file

Weakness: CWE-79

Which versions are affected by CVE-2022-1009?

It affects 1 product.

Products include Wpmudev Smush Image Compression and Optimization.

How do I fix CVE-2022-1009?

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

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

Sources

Also known as GHSA-j96r-f3m8-gwxp.

Is CVE-2022-1009 in your software?

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

Check your SBOMs for free