# Responsive Lightbox & Gallery <= 2.7.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Image Link Title Attribute

- **ID:** WPSEC-2026-0437
- **Plugin:** Responsive Lightbox & Gallery (`responsive-lightbox`), https://wordpress.org/plugins/responsive-lightbox/
- **Affected versions:** all versions 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 High (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-0437/

## Description

The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the title attribute of lightboxed image links in all versions up to, and including, 2.7.9. This is due to insufficient sanitization of the title attributes the plugin rewrites on links it opens in a lightbox, which recognised only one form of the attribute. 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-0437/
- 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-0437/

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.
