CVE-2023-6737 Enable Media Replace <= 4.1.4 - Reflected Cross-Site Scripting

Medium 4.7 Published Updated

Unauthenticated attackers can inject arbitrary web scripts via the SHORTPIXEL_DEBUG parameter in the Enable Media Replace 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-2023-6737?

CVE-2023-6737 is a medium-severity cross-site scripting vulnerability in shortpixel Enable Media Replace, published on 11 Jan 2024. 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 Enable Media Replace plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the SHORTPIXEL_DEBUG parameter in all versions up to, and including, 4.1.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploiting this vulnerability requires the attacker to know the ID of an attachment uploaded by the user they are attacking.

Weakness: CWE-79

Which versions are affected by CVE-2023-6737?

It affects 1 product.

Products include Shortpixel Enable Media Replace.

How do I fix CVE-2023-6737?

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

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

Sources

Also known as GHSA-fh2m-jg7j-ghwg.

Is CVE-2023-6737 in your software?

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

Check your SBOMs for free