CVE-2022-4207 Cross-site scripting in Image Hover Effects Ultimate (Image Gallery, Effects, Lightbox, Comparison or Magnifier)

Medium 5.5 Published Updated

Authenticated attackers can inject arbitrary scripts via Image Hover settings if lower-privileged users are granted edit access, leading to stored XSS.

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-2022-4207?

CVE-2022-4207 is a medium-severity cross-site scripting vulnerability in biplob018 Image Hover Effects Ultimate (Image Gallery, Effects, Lightbox, Comparison or Magnifier), published on 13 Dec 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Image Hover Effects Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via several values that can be added to an Image Hover in versions 9.8.1 to 9.8.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. By default, the plugin only allows administrators access to edit Image Hovers, however, if a site admin makes the plugin's features available to lower privileged users through the 'Who Can Edit?' setting then this can be exploited by those users.

Which versions are affected by CVE-2022-4207?

It affects 1 product.

Products include Oxilab Image Hover Effects Ultimate.

How do I fix CVE-2022-4207?

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

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

Sources

Also known as GHSA-6qq4-4xr4-mpp6.

Is CVE-2022-4207 in your software?

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

Check your SBOMs for free