Skip to main content

Firelight Lightbox EUVDEUVD-2026-48462

| CVE-2026-6454 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-24 Wordfence GHSA-ccv6-5mc2-jm5q
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to WordPress as contributor
  2. Delivery
    Craft PDF href with entity-encoded quote-breaking XSS payload
  3. Exploit
    Save malicious post or page
  4. Install
    Victim browses to published page containing PDF link
  5. C2
    Victim clicks lightbox PDF link
  6. Execute
    FancyBox beforeLoad concatenates unsanitized href into DOM
  7. Impact
    Injected event handler executes in victim browser session

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.

Exploitation Conditions

Exploitation requires the attacker to hold a WordPress account with contributor-level access or higher (PR:L per CVSS) - unauthenticated users cannot stage this attack. The victim must additionally click the malicious PDF lightbox link for the injected event handler to fire; the CVE description explicitly states click-triggered execution, which conflicts with the provided UI:N CVSS metric - treat as requiring user interaction (UI:R) until Wordfence clarifies. The target site must have the easy-fancybox plugin installed and active in a version at or below 2.3.20, and at least one published page must contain a PDF link processed through the FancyBox V2 code path. Sites that do not use PDF links in FancyBox lightboxes, or that restrict post creation to trusted editors and administrators only, are not realistically exposed.

Impact

The provided CVSS 3.1 score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) is primarily elevated by the scope change (S:C), which accounts for injected JavaScript executing in a victim's browser session - a system distinct from the WordPress installation. The low privilege requirement (PR:L - contributor role) means any registered contributor on a multi-author WordPress site can stage the attack. However, one significant discrepancy must be flagged: the provided CVSS vector specifies UI:N (no user interaction), yet the CVE description explicitly states execution occurs only when a victim clicks the malicious PDF link, which maps to UI:R. If UI:R is correct, the adjusted score drops to approximately 5.4. No EPSS data was provided in available intelligence; however, the combination of required contributor authentication and a click-to-trigger condition meaningfully constrains opportunistic mass exploitation. No public exploit code has been identified and CISA KEV does not list this CVE, indicating no confirmed active exploitation at time of analysis. The realistic risk profile is moderate: impactful on multi-author WordPress sites with low-trust contributors, but not a mass-exploitation candidate.

Exploit ScenarioDerived

A contributor-level WordPress user crafts a PDF attachment link with an href value containing entity-encoded double-quotes followed by an injected onclick handler payload, then embeds it in a post or page and submits it for publication. When any site visitor subsequently views the published page and clicks the PDF lightbox link, the FancyBox V2 beforeLoad callback concatenates the unsanitized href into the DOM, causing the browser to parse the injected event handler and execute the attacker's JavaScript - enabling session cookie theft, keylogging, or silent redirection to a phishing page. No public proof-of-concept code has been identified, though the vulnerable code path is fully visible in WordPress SVN and the attack technique is well-documented in XSS literature.

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

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

Alert me

AnalysisAIv1 – Jul 24, 2026

Stored DOM Cross-Site Scripting in the Firelight Lightbox WordPress plugin (distributed as 'easy-fancybox') versions through 2.3.20 enables authenticated contributors to permanently embed arbitrary JavaScript into any WordPress page containing a PDF lightbox link. The flaw traces to FancyBox V2's beforeLoad callback in inc/fancybox-2.php, where this.href is concatenated into an HTML string without escaping, allowing entity-encoded double-quotes in a stored href to break out of the surrounding data attribute and attach arbitrary event handlers. CVSS scope-change scoring (S:C) reflects that successful exploitation compromises visiting users' browser sessions rather than the WordPress application itself, though the provided UI:N metric conflicts with the description's click-to-trigger requirement - a discrepancy that bears verification with Wordfence.

RemediationAI

Update the Firelight Lightbox (easy-fancybox) plugin to a version beyond 2.3.20. A fix has been committed to the WordPress.org SVN repository at changeset 3610643 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3610643%40easy-fancybox&new=3610643%40easy-fancybox); however, the exact released plugin version containing this fix is not independently confirmed from available data - verify the current release via the WordPress admin plugin dashboard or the plugin's wordpress.org page before assuming any specific version number is patched. As a compensating control prior to patching, restrict contributor role assignment to fully trusted users on any multi-author site, since the attack requires that authentication level. Disabling the PDF lightbox feature entirely (if unused) eliminates the vulnerable code path with no functional trade-off for sites that do not serve PDF lightboxes. Deploying a Content Security Policy header that disallows inline event handlers will mitigate the impact of successful injection but requires careful tuning to avoid breaking other inline scripts present on the site.

Affected VersionsENISA

Firelight Lightbox 0 ≤2.3.20

Affected Packages

euvd firelight_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 root cause is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) in PHP-generated JavaScript. At inc/fancybox-2.php line 322, the FancyBox V2 PDF beforeLoad callback constructs an HTML string by directly concatenating this.href - the stored href attribute of the PDF anchor element - without applying HTML entity encoding or JavaScript string escaping. When an attacker persists an href containing entity-encoded double-quotes (e.g., "), the browser decodes those entities during HTML parsing before attribute boundary evaluation, causing the decoded double-quote to prematurely close the surrounding data attribute. This allows the attacker to inject additional HTML attributes such as onclick, onmouseover, or other event handlers directly into the rendered DOM. The affected codebase is publicly visible at the WordPress SVN references (inc/fancybox-2.php line 322 and jquery.fancybox.js lines 280 and 1235). Affected product CPE: cpe:2.3:a:firelightwp:firelight_lightbox:*:*:*:*:*:*:*:* covering all versions up to and including 2.3.20.

Know when Firelight 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
vuln.today AI 5.4 MEDIUM

Contributor-level auth required (PR:L); description states click-triggered execution (UI:R, correcting provided UI:N); injected JS executes in victim browser scope (S:C).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

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 Firelight Lightbox plugin for WordPress is vulnerable to Stored DOM Cross-Site Scripting in versions up to and including 2.3.20. This is due to insufficient sanitization of the href attribute value within the FancyBox V2 PDF beforeLoad JavaScript callback generated in inc/fancybox-2.php, where this.href is string-concatenated directly into an HTML string without escaping, allowing a stored href containing entity-encoded double-quotes to break out of the data attribute and inject arbitrary event handlers into the DOM. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts into pages that execute whenever a user clicks the malicious PDF link.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular WordPress lightbox plugin, not universally deployed
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.2%
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