Responsive Lightbox & Gallery <= 2.7.11.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Basic Slider Options

Medium 6.4 CWE-79Fixed in 2.7.12
ID
WPSEC-2026-4088
Plugin
Responsive Lightbox & Gallery (responsive-lightbox)
Affected
from 2.5.0 before 2.7.12
Remediation
Update to 2.7.12 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin High · Affected versions Medium among sites WPSec scans, 2026-11-27
Attack surface
Responsive Lightbox & Gallery on WPSec AttackSurface
Fix released
Published

Description

The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Basic Slider gallery in versions 2.5.0 up to, and including, 2.7.11.1. The cause is that the frontend script started the bundled slider on any element in the page that carried the slider gallery's class, and the slider read further options from a data attribute in the page markup, one of which it inserts as HTML. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0