Vulnerability in Responsive Lightbox & Gallery — CVE-2026-103897
What to do now
Update Responsive Lightbox & Gallery to 2.7.10 or later.
Affected versions
- Everything up to and including 2.7.9
Affected: Responsive Lightbox & Gallery (plugin, responsive-lightbox)
What the vulnerability is
The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 2.7.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with editor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the plugin's 'Comments' lightbox setting to be enabled (disabled by default), a moderator to approve the injected comment, and a site visitor to click the affected image to open the lightbox.