# Responsive Lightbox & Gallery <= 2.7.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Nivo Lightbox HiDPI Image Source

- **ID:** WPSEC-2026-0438
- **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 4.4 (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/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-0438/

## Description

The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the HiDPI image source of links opened with the Nivo Lightbox script in all versions up to, and including, 2.7.9. This is due to the HiDPI source replacing the link's URL without being checked against the allowed media URL schemes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts that execute when a user with a high-density display opens the affected lightbox, on sites that use the Nivo Lightbox script.

## References

- https://wpsec.com/vuln/WPSEC-2026-0438/
- 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-0438/

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.
