CVE-2021-24667 Gallery Blocks with Lightbox < 2.2.1- Authenticated Stored Cross-Site Scripting

Medium 5.4 Published Updated

Authenticated attackers can inject arbitrary scripts via image metadata in the Gallery Blocks with Lightbox plugin, potentially compromising user sessions.

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-24667?

CVE-2021-24667 is a medium-severity cross-site scripting vulnerability in Unknown Gallery Blocks with Lightbox. Image Gallery, (HTML5 video , YouTube, Vimeo) Video Gallery and Lightbox for native gallery, published on 30 Aug 2021. 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 stored cross-site scripting vulnerability has been discovered in : Simply Gallery Blocks with Lightbox (Version – 2.2.0 & below). The vulnerability exists in the Lightbox functionality where a user with low privileges is allowed to execute arbitrary script code within the context of the application. This vulnerability is due to insufficient validation of image parameters in meta data.

Weakness: CWE-79

Which versions are affected by CVE-2021-24667?

It affects 1 product.

Products include Simplygallery Simply Gallery Blocks With Lightbox.

How do I fix CVE-2021-24667?

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

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

Sources

Also known as GHSA-7x7j-cf43-24q8.

Is CVE-2021-24667 in your software?

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

Check your SBOMs for free