---
id: CVE-2026-4379
title: >-
  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
summary: >-
  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 sho…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-04-08'
updated: '2026-07-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-4379'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-jquery-lightbox/tags/2.3.4/lightboxes/wp-jquery-lightbox/class-wp-jquery-lightbox.php#L376
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-jquery-lightbox/tags/2.3.4/lightboxes/wp-jquery-lightbox/class-wp-jquery-lightbox.php#L395
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?old_path=/wp-jquery-lightbox/tags/2.3.4&new_path=/wp-jquery-lightbox/tags/2.3.5
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/2bed4818-70c5-40b7-8d8d-f43f3baa0f3d?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00264
epssPercentile: 0.18608
ingestedAt: '2026-07-25T23:05:58.649Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
