Description
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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-03-23: | Vendor Notified |
| 2026-04-07: | Disclosed |
Credits
Muhammad Yudha - DJ
References
www.wordfence.com/...-70c5-40b7-8d8d-f43f3baa0f3d?source=cve
plugins.trac.wordpress.org/...x/class-wp-jquery-lightbox.php
plugins.trac.wordpress.org/...x/class-wp-jquery-lightbox.php
plugins.trac.wordpress.org/.../wp-jquery-lightbox/tags/2.3.5