CVE-2026-4379

LightPress Lightbox <= 2.3.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'group' Shortcode Attribute

Published Apr 8, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Firelightwp
Firelightwp lightpress Lightbox
Wordpress
Wordpress wordpress
Vendors & Products Firelightwp
Firelightwp lightpress Lightbox
Wordpress
Wordpress wordpress
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 13, 2026, 3:15 PM
Reserved
Mar 18, 2026, 1:23 PM
Status
Deferred
Published
Apr 8, 2026, 4:17 AM
Modified
Jul 25, 2026, 10:10 AM