What the vulnerability does
01Description
The LightPress Lightbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `group` attribute in the `[gallery]` shortcode in all versions up to, and including, 2.3.4. This is due to the plugin modifying gallery shortcode output to include the `group` attribute value without proper escaping. 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.
Explanation of Vulnerability in Simple Terms
02Summary
LightPress Lightbox versions 2.3.4 and earlier contain a cross-site scripting vulnerability that allows authenticated users to inject malicious scripts. The vulnerability has a changed scope, meaning the impact can extend beyond the lightbox component itself. An attacker with low-level site access can inject code that affects other users' sessions and data.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers and affects site functionality.
Potential impact on your site
04Site Impact
Authenticated users with low privileges can inject scripts affecting other users' sessions, data, or site behavior.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account on the site; no user interaction required.
Key dates
06Disclosure timeline
April 8, 2026
CVE published
April 13, 2026
Record updated