CVE-2026-103897: Responsive Lightbox & Gallery <= 2.7.9 - Authenticated (Editor+) Stored Cross-Site Scripting via Comment Content 'title' Attribute

Published Oct 10, 2026
·
Updated

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.

Affected Software

1 affected component
dFactory Responsive Lightbox & Gallery<=2.7.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Keep the plugin's 'Comments' lightbox setting disabled to prevent exploitation; it is disabled by default.

    Responsive Lightbox & Gallery Comments lightbox = disabled

Event History

Oct 10, 2026
CVE Published
via MITRE·06:40 AM
Data Sourced
via MITRE·06:40 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Are sites using the default plugin configuration exposed?

No. Exploitation requires the plugin's Comments lightbox setting to be enabled, and that setting is disabled by default.

2

What must an attacker and victim do for the injected script to execute?

The attacker must be authenticated with editor-level access or higher and submit the malicious comment content. A moderator must approve that comment, then a visitor must click the affected image to open its lightbox.

3

What can be done while a fix is not available or cannot be applied?

Disable the Comments lightbox setting. Also review and remove or reject suspicious approved comments, particularly where editor-level or higher accounts may have submitted content.

4

How can administrators check for likely exposure?

Verify whether Comments lightbox is enabled and review approved comments associated with lightbox-enabled images. Sites without that setting enabled are not exploitable through the described path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203