# Responsive Lightbox & Gallery <= 2.7.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via GLightbox Slide Options

- **ID:** WPSEC-2026-0439
- **Plugin:** Responsive Lightbox & Gallery (`responsive-lightbox`), https://wordpress.org/plugins/responsive-lightbox/
- **Affected versions:** from 2.6.0 before 2.7.10
- **Fixed in:** 2.7.10 (Update to 2.7.10 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin High, affected versions Medium (as of 2026-10-06)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/responsive-lightbox
- **Fix released:** 2026-10-05
- **Published:** 2026-10-06
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0439/

## Description

The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via GLightbox slide options (title, description, inline content, URL and video settings) in versions 2.6.0 up to, and including, 2.7.9. This is due to the slide options read from a lightboxed link not being sanitized before GLightbox renders them. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that execute when a user opens the affected lightbox.

## References

- https://wpsec.com/vuln/WPSEC-2026-0439/
- https://plugins.svn.wordpress.org/responsive-lightbox/tags/2.7.10/
- https://wordpress.org/plugins/responsive-lightbox/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0439/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
