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.
Published: 2026-04-08
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

Medium‑severity Cross‑Site Scripting exists in the LightPress Lightbox WordPress plugin. By placing specially formatted input in the 'group' attribute of the gallery shortcode, an attacker who can create or edit posts—a Contributor or higher—can embed malicious scripts. Those scripts are stored in the gallery’s markup and run in the browsers of any visitor who views the affected page, allowing execution of arbitrary client‑side code.

Affected Systems

All instances of FirelightWP’s LightPress Lightbox up to version 2.3.4 are affected. A user can exploit the vulnerability by adding or editing a gallery shortcode with a crafted 'group' value on any page or post that accepts shortcodes. The vulnerability stops at the plugin level and only affects sites that use this plugin.

Risk and Exploitability

The CVSS base score of 6.4 indicates moderate risk. No EPSS data is available, and the flaw is not listed in the CISA KEV catalog, suggesting no confirmed widespread exploitation yet. However, because the vulnerability requires only contributor‑level access, which is common on many sites, an attacker can easily inject scripts that perform malicious actions such as cookie theft, session hijacking, or defacement once they are embedded in a page viewed by regular users.

Generated by OpenCVE AI on April 8, 2026 at 04:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LightPress Lightbox to version 2.3.5 or later.
  • If an immediate upgrade is not possible, edit any gallery shortcodes to remove the 'group' attribute or replace it with a safe value.
  • Verify that no stored XSS remains by reviewing the gallery outputs and testing for script execution in a controlled environment.

Generated by OpenCVE AI on April 8, 2026 at 04:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Apr 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Apr 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Firelightwp
Firelightwp lightpress Lightbox
Wordpress
Wordpress wordpress
Vendors & Products Firelightwp
Firelightwp lightpress Lightbox
Wordpress
Wordpress wordpress

Wed, 08 Apr 2026 03:45:00 +0000

Type Values Removed Values Added
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.
Title LightPress Lightbox <= 2.3.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'group' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Firelightwp Lightpress Lightbox
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-13T15:15:10.676Z

Reserved: 2026-03-18T13:23:42.883Z

Link: CVE-2026-4379

cve-icon Vulnrichment

Updated: 2026-04-13T15:12:13.345Z

cve-icon NVD

Status : Deferred

Published: 2026-04-08T04:17:09.967

Modified: 2026-04-27T19:04:22.650

Link: CVE-2026-4379

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-09T08:22:24Z

Weaknesses